Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CPPToken Class Reference

#include <cppToken.h>

List of all members.

Public Member Functions

 CPPToken (int token, int line_number=0, int col_number=0, const CPPFile &file=CPPFile(""), const string &str=string(), const YYSTYPE &lval=YYSTYPE())
 CPPToken (const CPPToken &copy)
void operator= (const CPPToken &copy)
bool is_eof () const
void output (ostream &out) const

Static Public Member Functions

CPPToken eof ()

Public Attributes

int _token
YYSTYPE _lval
YYLTYPE _lloc


Constructor & Destructor Documentation

CPPToken::CPPToken int  token,
int  line_number = 0,
int  col_number = 0,
const CPPFile file = CPPFile(""),
const string &  str = string(),
const YYSTYPE lval = YYSTYPE()
 

Definition at line 32 of file cppToken.cxx.

References _lloc, and _lval.

Referenced by eof().

CPPToken::CPPToken const CPPToken &  copy  ) 
 

Definition at line 51 of file cppToken.cxx.

References _lval.


Member Function Documentation

CPPToken CPPToken::eof  )  [static]
 

Definition at line 79 of file cppToken.cxx.

References CPPToken().

Referenced by CPPPreprocessor::internal_get_next_token().

bool CPPToken::is_eof  )  const
 

Definition at line 89 of file cppToken.cxx.

References _token.

void CPPToken::operator= const CPPToken &  copy  ) 
 

Definition at line 65 of file cppToken.cxx.

References _lloc, _lval, and _token.

void CPPToken::output ostream out  )  const
 

Definition at line 100 of file cppToken.cxx.

References _lval, _token, and NULL.

Referenced by operator<<().


Member Data Documentation

YYLTYPE CPPToken::_lloc
 

Definition at line 46 of file cppToken.h.

Referenced by CPPToken(), and operator=().

YYSTYPE CPPToken::_lval
 

Definition at line 45 of file cppToken.h.

Referenced by CPPToken(), operator=(), and output().

int CPPToken::_token
 

Definition at line 44 of file cppToken.h.

Referenced by is_eof(), CPPPreprocessor::nested_parse_template_instantiation(), operator=(), and output().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:34:54 2003 for DTool by doxygen1.3