#include <LToken.hxx>
Public Member Functions | |
| char | operator[] (size_t pos) const |
| LToken () | |
| LToken (int tokType, const LexLoc &loc, const LexLoc &endLoc, const std::string &s) | |
| LToken (int tokType, const LToken &that) | |
| LToken (int tokType, const std::string &str) | |
| LToken & | operator= (const LToken &that) |
Data Fields | |
| int | tokType |
| int | prevTokType |
| TokenFlags | flags |
| LexLoc | loc |
| LexLoc | endLoc |
| std::string | str |
Definition at line 89 of file LToken.hxx.
| sherpa::LToken::LToken | ( | ) | [inline] |
| sherpa::LToken::LToken | ( | int | tokType, | |
| const LexLoc & | loc, | |||
| const LexLoc & | endLoc, | |||
| const std::string & | s | |||
| ) | [inline] |
Definition at line 123 of file LToken.hxx.
References endLoc, flags, loc, prevTokType, str, and TF_NO_FLAGS.
| sherpa::LToken::LToken | ( | int | tokType, | |
| const LToken & | that | |||
| ) | [inline] |
Definition at line 134 of file LToken.hxx.
References endLoc, flags, loc, prevTokType, str, and tokType.
| sherpa::LToken::LToken | ( | int | tokType, | |
| const std::string & | str | |||
| ) | [inline] |
Definition at line 144 of file LToken.hxx.
References endLoc, flags, loc, prevTokType, and TF_NO_FLAGS.
Definition at line 154 of file LToken.hxx.
References endLoc, flags, loc, prevTokType, str, and tokType.
| char sherpa::LToken::operator[] | ( | size_t | pos | ) | const [inline] |
Definition at line 96 of file LToken.hxx.
Referenced by TransitionLexer::lex(), LToken(), and operator=().
Definition at line 93 of file LToken.hxx.
Referenced by TransitionLexer::beginBlock(), TransitionLexer::endBlock(), LToken(), and operator=().
Definition at line 95 of file LToken.hxx.
Referenced by TransitionLexer::endBlock(), LToken(), operator=(), TransitionLexer::ReportParseError(), and TransitionLexer::ReportParseWarning().
Definition at line 91 of file LToken.hxx.
Referenced by TransitionLexer::lex(), LToken(), operator=(), and TransitionLexer::pushTokenBack().
| std::string sherpa::LToken::str |
Definition at line 97 of file LToken.hxx.
Referenced by LToken(), AST::makeBoolLit(), AST::makeCharLit(), AST::makeFloatLit(), AST::makeIntLit(), AST::makeStringLit(), operator=(), and operator[]().
Definition at line 90 of file LToken.hxx.
Referenced by TransitionLexer::beginBlock(), TransitionLexer::lex(), LToken(), and operator=().
1.4.7