comma::Lexer::Token Class Reference

#include <Lexer.h>

Collaboration diagram for comma::Lexer::Token:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Token ()
Lexer::Code getCode () const
Location getLocation () const
const char * getRep () const
unsigned getLength () const
std::string getString () const

Friends

class Lexer

Detailed Description

Definition at line 49 of file Lexer.h.


Constructor & Destructor Documentation

comma::Lexer::Token::Token (  )  [inline]

Definition at line 52 of file Lexer.h.


Member Function Documentation

Lexer::Code comma::Lexer::Token::getCode (  )  const [inline]

Definition at line 54 of file Lexer.h.

unsigned comma::Lexer::Token::getLength (  )  const [inline]

Definition at line 60 of file Lexer.h.

Location comma::Lexer::Token::getLocation (  )  const [inline]

Definition at line 56 of file Lexer.h.

const char* comma::Lexer::Token::getRep (  )  const [inline]

Definition at line 58 of file Lexer.h.

std::string Lexer::Token::getString (  )  const

Definition at line 23 of file Lexer.cpp.


Friends And Related Function Documentation

friend class Lexer [friend]

Definition at line 73 of file Lexer.h.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1