Token Struct Reference

#include <scanner.h>

List of all members.


Detailed Description

token as value type

Definition at line 67 of file scanner.h.


Public Types

typedef unsigned * TArgVector

Public Member Functions

 Token ()
 Token (EToken type_, int lineno_, const std::string &text_)

Public Attributes

EToken type
 type of token
int lineno
 line number in source code
std::string text
 token as text
TArgVector args
 list of arguments

Member Typedef Documentation

typedef unsigned* TArgVector

Definition at line 71 of file scanner.h.


Constructor & Destructor Documentation

Token (  )  [inline]

Definition at line 74 of file scanner.h.

Token ( EToken  type_,
int  lineno_,
const std::string &  text_ 
) [inline]

Definition at line 79 of file scanner.h.


Member Data Documentation

EToken type

type of token

Definition at line 68 of file scanner.h.

Referenced by Core::dispatch(), operator<<(), StreamDecorator::operator<<(), and FlexScanner::readNext().

int lineno

line number in source code

Definition at line 69 of file scanner.h.

Referenced by Error::Error(), operator<<(), and FlexScanner::readNext().

std::string text

token as text

Definition at line 70 of file scanner.h.

Referenced by Error::Error(), operator<<(), and FlexScanner::readNext().

TArgVector args

list of arguments

Definition at line 72 of file scanner.h.

Referenced by Core::dispatch(), operator<<(), and FlexScanner::readNext().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 10 22:42:18 2009 for rob08 by  doxygen 1.5.4