Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends

Lexer Class Reference

List of all members.

Classes

class  TokenValue

Public Types

enum  TokenType {
  LEX_TOKEN_ERROR, LEX_END_OF_INPUT, LEX_TOKEN_TOO_LONG, LEX_INTEGER_VALUE,
  LEX_REAL_VALUE, LEX_BOOLEAN_VALUE, LEX_STRING_VALUE, LEX_UNDEFINED_VALUE,
  LEX_ERROR_VALUE, LEX_IDENTIFIER, LEX_SELECTION, LEX_MULTIPLY,
  LEX_DIVIDE, LEX_MODULUS, LEX_PLUS, LEX_MINUS,
  LEX_BITWISE_AND, LEX_BITWISE_OR, LEX_BITWISE_NOT, LEX_BITWISE_XOR,
  LEX_LEFT_SHIFT, LEX_RIGHT_SHIFT, LEX_URIGHT_SHIFT, LEX_LOGICAL_AND,
  LEX_LOGICAL_OR, LEX_LOGICAL_NOT, LEX_LESS_THAN, LEX_LESS_OR_EQUAL,
  LEX_GREATER_THAN, LEX_GREATER_OR_EQUAL, LEX_EQUAL, LEX_NOT_EQUAL,
  LEX_META_EQUAL, LEX_META_NOT_EQUAL, LEX_BOUND_TO, LEX_QMARK,
  LEX_COLON, LEX_COMMA, LEX_SEMICOLON, LEX_OPEN_BOX,
  LEX_CLOSE_BOX, LEX_OPEN_PAREN, LEX_CLOSE_PAREN, LEX_OPEN_BRACE,
  LEX_CLOSE_BRACE, LEX_BACKSLASH, LEX_ABSOLUTE_TIME_VALUE, LEX_RELATIVE_TIME_VALUE,
  LEX_TOKEN_ERROR, LEX_END_OF_INPUT, LEX_TOKEN_TOO_LONG, LEX_INTEGER_VALUE,
  LEX_REAL_VALUE, LEX_BOOLEAN_VALUE, LEX_STRING_VALUE, LEX_UNDEFINED_VALUE,
  LEX_ERROR_VALUE, LEX_IDENTIFIER, LEX_SELECTION, LEX_MULTIPLY,
  LEX_DIVIDE, LEX_MODULUS, LEX_PLUS, LEX_MINUS,
  LEX_BITWISE_AND, LEX_BITWISE_OR, LEX_BITWISE_NOT, LEX_BITWISE_XOR,
  LEX_LEFT_SHIFT, LEX_RIGHT_SHIFT, LEX_URIGHT_SHIFT, LEX_LOGICAL_AND,
  LEX_LOGICAL_OR, LEX_LOGICAL_NOT, LEX_LESS_THAN, LEX_LESS_OR_EQUAL,
  LEX_GREATER_THAN, LEX_GREATER_OR_EQUAL, LEX_EQUAL, LEX_NOT_EQUAL,
  LEX_META_EQUAL, LEX_META_NOT_EQUAL, LEX_BOUND_TO, LEX_QMARK,
  LEX_COLON, LEX_COMMA, LEX_SEMICOLON, LEX_OPEN_BOX,
  LEX_CLOSE_BOX, LEX_OPEN_PAREN, LEX_CLOSE_PAREN, LEX_OPEN_BRACE,
  LEX_CLOSE_BRACE, LEX_BACKSLASH, LEX_ABSOLUTE_TIME_VALUE, LEX_RELATIVE_TIME_VALUE
}
enum  TokenType {
  LEX_TOKEN_ERROR, LEX_END_OF_INPUT, LEX_TOKEN_TOO_LONG, LEX_INTEGER_VALUE,
  LEX_REAL_VALUE, LEX_BOOLEAN_VALUE, LEX_STRING_VALUE, LEX_UNDEFINED_VALUE,
  LEX_ERROR_VALUE, LEX_IDENTIFIER, LEX_SELECTION, LEX_MULTIPLY,
  LEX_DIVIDE, LEX_MODULUS, LEX_PLUS, LEX_MINUS,
  LEX_BITWISE_AND, LEX_BITWISE_OR, LEX_BITWISE_NOT, LEX_BITWISE_XOR,
  LEX_LEFT_SHIFT, LEX_RIGHT_SHIFT, LEX_URIGHT_SHIFT, LEX_LOGICAL_AND,
  LEX_LOGICAL_OR, LEX_LOGICAL_NOT, LEX_LESS_THAN, LEX_LESS_OR_EQUAL,
  LEX_GREATER_THAN, LEX_GREATER_OR_EQUAL, LEX_EQUAL, LEX_NOT_EQUAL,
  LEX_META_EQUAL, LEX_META_NOT_EQUAL, LEX_BOUND_TO, LEX_QMARK,
  LEX_COLON, LEX_COMMA, LEX_SEMICOLON, LEX_OPEN_BOX,
  LEX_CLOSE_BOX, LEX_OPEN_PAREN, LEX_CLOSE_PAREN, LEX_OPEN_BRACE,
  LEX_CLOSE_BRACE, LEX_BACKSLASH, LEX_ABSOLUTE_TIME_VALUE, LEX_RELATIVE_TIME_VALUE,
  LEX_TOKEN_ERROR, LEX_END_OF_INPUT, LEX_TOKEN_TOO_LONG, LEX_INTEGER_VALUE,
  LEX_REAL_VALUE, LEX_BOOLEAN_VALUE, LEX_STRING_VALUE, LEX_UNDEFINED_VALUE,
  LEX_ERROR_VALUE, LEX_IDENTIFIER, LEX_SELECTION, LEX_MULTIPLY,
  LEX_DIVIDE, LEX_MODULUS, LEX_PLUS, LEX_MINUS,
  LEX_BITWISE_AND, LEX_BITWISE_OR, LEX_BITWISE_NOT, LEX_BITWISE_XOR,
  LEX_LEFT_SHIFT, LEX_RIGHT_SHIFT, LEX_URIGHT_SHIFT, LEX_LOGICAL_AND,
  LEX_LOGICAL_OR, LEX_LOGICAL_NOT, LEX_LESS_THAN, LEX_LESS_OR_EQUAL,
  LEX_GREATER_THAN, LEX_GREATER_OR_EQUAL, LEX_EQUAL, LEX_NOT_EQUAL,
  LEX_META_EQUAL, LEX_META_NOT_EQUAL, LEX_BOUND_TO, LEX_QMARK,
  LEX_COLON, LEX_COMMA, LEX_SEMICOLON, LEX_OPEN_BOX,
  LEX_CLOSE_BOX, LEX_OPEN_PAREN, LEX_CLOSE_PAREN, LEX_OPEN_BRACE,
  LEX_CLOSE_BRACE, LEX_BACKSLASH, LEX_ABSOLUTE_TIME_VALUE, LEX_RELATIVE_TIME_VALUE
}

Public Member Functions

bool Initialize (LexerSource *source)
bool Reinitialize (void)
bool WasInitialized (void)
void FinishedParse ()
TokenType PeekToken (TokenValue *=0)
TokenType ConsumeToken (TokenValue *=0)
void SetDebug (bool d)
bool Initialize (LexerSource *source)
bool Reinitialize (void)
bool WasInitialized (void)
void FinishedParse ()
TokenType PeekToken (TokenValue *=0)
TokenType ConsumeToken (TokenValue *=0)
void SetDebug (bool d)

Static Public Member Functions

static const char * strLexToken (int)
static const char * strLexToken (int)

Public Attributes

std::string lexBuffer

Friends

class FunctionCall
class ClassAdXMLParser

The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends