Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::Parser::Token Struct Reference

List of all members.

Detailed Description

Tokens for lexer.


Public Types

enum  Type {
  END_OF_INPUT = 0, OPEN_BRACKET, CLOSE_BRACKET, EQUAL,
  SEMI_COLON, VAL, NONE
}
 Type of token. More...

Public Member Functions

 Token (Type type, const std::string &val="")
 Create a token with a given type and an optional initial value.

Public Attributes

enum Ishtar::Parser::Token::Type type
 Type of token type of this token.
std::string val
 Value of the token if any.


Member Enumeration Documentation

enum Ishtar::Parser::Token::Type
 

Type of token.

Enumeration values:
END_OF_INPUT  no more data in input stream
OPEN_BRACKET  opening bracker ({)
CLOSE_BRACKET  closing bracker ({)
EQUAL  equal signe (=)
SEMI_COLON  semi-colon (;)
VAL  a string stored in val representing a value
NONE  no type


The documentation for this struct was generated from the following file:
Generated on Mon Oct 24 17:31:47 2005 for libishtarsettings by  doxygen 1.4.2