#include "ModelState.H"
#include "Lex.H"
#include "Location.H"
#include "Expr.H"
#include "Val.H"
#include "Err.H"
#include <Table.H>
#include <iostream>
Go to the source code of this file.
Functions | |
char | GetChar () |
void | LexInit () |
Variables | |
SrcLoc * | noLoc = NEW(SrcLoc) |
istream * | lexIn |
char | lookAhead1 |
char | lookAhead2 |
int | lookaheads |
int | lineNumber |
int | charNumber |
Text | TokenNames [TkIllegal+1] |
|
Definition at line 84 of file Lex.C. References charNumber, InternalError(), lexIn, lineNumber, Basics::mutex::lock(), lookAhead1, lookAhead2, lookaheads, outputMu, and Basics::mutex::unlock(). Referenced by Token::Next(), Token::ScanComment(), Token::ScanIdNumber(), Token::ScanPragma(), and Token::ScanText(). |
|
Definition at line 581 of file Lex.C. References TkAnd, TkBackSlash, TkBang, TkBinding, TkBool, TkColon, TkComma, TkDo, TkDollar, TkElse, TkEqEq, TkEqual, TkErr, TkFalse, TkFiles, TkForeach, TkFrom, TkFunction, TkGreater, TkGreaterEq, TkIf, TkImplies, TkImport, TkIn, TkInt, TkLBrace, TkLBracket, TkLess, TkLessEq, TkList, TkLParen, TkMinus, TkNotEq, TkOr, TkPercent, TkPlus, TkPlusPlus, TkQuery, TkRBrace, TkRBracket, TkReturn, TkRParen, TkSemicolon, TkSlash, TkStar, TkText, TkThen, TkTrue, TkType, TkUnderscore, and TkValue. Referenced by StartEval(). |
|
Definition at line 47 of file Lex.C. Referenced by GetChar(), ModelStateInit(), Token::Next(), and Token::ScanComment(). |
|
Definition at line 44 of file Lex.C. Referenced by GetChar(), Token::LexFlush(), and ModelStateInit(). |
|
Definition at line 47 of file Lex.C. Referenced by GetChar(), ModelStateInit(), Token::Next(), and Token::ScanComment(). |
|
Definition at line 45 of file Lex.C. Referenced by GetChar(). |
|
Definition at line 45 of file Lex.C. Referenced by GetChar(). |
|
Definition at line 46 of file Lex.C. Referenced by GetChar(), and ModelStateInit(). |
|
Definition at line 41 of file Lex.C. Referenced by Interpret(). |
|
Initial value: { "binding", "bool", "do", "else", "ERR", "FALSE", "files", "foreach", "from", "function", "if", "in", "import", "int", "list", "return", "text", "then", "TRUE", "type", "value", "Id", "Number", "String", "And", "EqEq", "NotEq", "GreaterEq", "Implies", "LessEq", "Or", "PlusPlus", "BackSlash", "Bang", "Colon", "Comma", "Dollar", "Equal", "Greater", "Less", "Minus", "Percent", "Plus", "Query", "Semicolon", "Slash", "Star", "Underscore", "LBrace", "RBrace", "LBracket", "RBracket", "LParen", "RParen", "Pragma", "End of File", "Illegal Token" } Definition at line 560 of file Lex.C. Referenced by Expect(). |