Lines Matching refs:tgtok
29 namespace tgtok {
70 tgtok::TokKind CurCode;
88 tgtok::TokKind Lex() {
96 tgtok::TokKind getCode() const { return CurCode; }
99 assert((CurCode == tgtok::Id || CurCode == tgtok::StrVal ||
100 CurCode == tgtok::VarName || CurCode == tgtok::CodeFragment) &&
105 assert(CurCode == tgtok::IntVal && "This token isn't an integer");
113 tgtok::TokKind LexToken();
115 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
121 tgtok::TokKind LexIdentifier();
123 tgtok::TokKind LexString();
124 tgtok::TokKind LexVarName();
125 tgtok::TokKind LexNumber();
126 tgtok::TokKind LexBracket();
127 tgtok::TokKind LexExclaim();