ERAV: Entity Relation Attribute Value:
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
ERAV::token Class Reference

#include <ERAV.h>

List of all members.

Public Types

enum  {
  ZERO = 0, LTQ = 512, QGT, LTS,
  SGT, ID, STRING
}

Public Member Functions

 token (int num)
void set (int number, const char *yytext, int yyleng, int yyline)
int getTag () const
int getAttrib () const
int num () const
const std::string & lexeme () const
bool operator== (int tk) const

Static Public Member Functions

static const char * name (int tk)

Private Member Functions

 token ()
void setTagAttrib ()

Private Attributes

int m_token
int m_line
int m_tag_attrib
std::string m_lexeme

Friends

class parser

Detailed Description

Definition at line 168 of file ERAV.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ZERO 
LTQ 
QGT 
LTS 
SGT 
ID 
STRING 

Definition at line 170 of file ERAV.h.


Constructor & Destructor Documentation

ERAV::token::token ( ) [inline, private]

Definition at line 173 of file ERAV.h.

ERAV::token::token ( int  num) [inline]

Definition at line 176 of file ERAV.h.


Member Function Documentation

void ERAV::token::set ( int  number,
const char *  yytext,
int  yyleng,
int  yyline 
) [inline]

Definition at line 177 of file ERAV.h.

int ERAV::token::getTag ( ) const [inline]

Definition at line 181 of file ERAV.h.

int ERAV::token::getAttrib ( ) const [inline]

Definition at line 182 of file ERAV.h.

int ERAV::token::num ( ) const [inline]

Definition at line 184 of file ERAV.h.

const std::string& ERAV::token::lexeme ( ) const [inline]

Definition at line 185 of file ERAV.h.

const char * ERAV::token::name ( int  tk) [static]

Definition at line 20 of file test_ERAV.cpp.

bool ERAV::token::operator== ( int  tk) const [inline]

Definition at line 187 of file ERAV.h.

void ERAV::token::setTagAttrib ( ) [private]

Friends And Related Function Documentation

friend class parser [friend]

Definition at line 172 of file ERAV.h.


Member Data Documentation

int ERAV::token::m_token [private]

Definition at line 190 of file ERAV.h.

int ERAV::token::m_line [private]

Definition at line 191 of file ERAV.h.

Definition at line 192 of file ERAV.h.

std::string ERAV::token::m_lexeme [private]

Definition at line 193 of file ERAV.h.


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