Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Lex.H File Reference

#include "Location.H"
#include "ValExpr.H"
#include <VestaSource.H>
#include <iostream>

Go to the source code of this file.

Enumerations

enum  TokenClass {
  TkBinding, TkBool, TkDo, TkElse,
  TkErr, TkFalse, TkFiles, TkForeach,
  TkFrom, TkFunction, TkIf, TkIn,
  TkImport, TkInt, TkList, TkReturn,
  TkText, TkThen, TkTrue, TkType,
  TkValue, TkId, TkNumber, TkString,
  TkAnd, TkEqEq, TkNotEq, TkGreaterEq,
  TkImplies, TkLessEq, TkOr, TkPlusPlus,
  TkBackSlash, TkBang, TkColon, TkComma,
  TkDollar, TkEqual, TkGreater, TkLess,
  TkMinus, TkPercent, TkPlus, TkQuery,
  TkSemicolon, TkSlash, TkStar, TkUnderscore,
  TkLBrace, TkRBrace, TkLBracket, TkRBracket,
  TkLParen, TkRParen, TkPragma, TkEOF,
  TkIllegal
}

Functions

void LexInit ()

Variables

Text fileName
ShortId shortId
int lineNumber
int charNumber
Text TokenNames []


Enumeration Type Documentation

enum TokenClass
 

Enumeration values:
TkBinding 
TkBool 
TkDo 
TkElse 
TkErr 
TkFalse 
TkFiles 
TkForeach 
TkFrom 
TkFunction 
TkIf 
TkIn 
TkImport 
TkInt 
TkList 
TkReturn 
TkText 
TkThen 
TkTrue 
TkType 
TkValue 
TkId 
TkNumber 
TkString 
TkAnd 
TkEqEq 
TkNotEq 
TkGreaterEq 
TkImplies 
TkLessEq 
TkOr 
TkPlusPlus 
TkBackSlash 
TkBang 
TkColon 
TkComma 
TkDollar 
TkEqual 
TkGreater 
TkLess 
TkMinus 
TkPercent 
TkPlus 
TkQuery 
TkSemicolon 
TkSlash 
TkStar 
TkUnderscore 
TkLBrace 
TkRBrace 
TkLBracket 
TkRBracket 
TkLParen 
TkRParen 
TkPragma 
TkEOF 
TkIllegal 

Definition at line 43 of file Lex.H.


Function Documentation

void LexInit  ) 
 

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().


Variable Documentation

int charNumber
 

Definition at line 47 of file Lex.C.

Referenced by GetChar(), ModelStateInit(), Token::Next(), and Token::ScanComment().

Text fileName
 

int lineNumber
 

Definition at line 47 of file Lex.C.

Referenced by GetChar(), ModelStateInit(), Token::Next(), and Token::ScanComment().

ShortId shortId
 

Referenced by VLeaf::read(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::setTimestamp(), TextVC::TextC::TextC(), and VLeaf::write().

Text TokenNames[]
 

Definition at line 560 of file Lex.C.

Referenced by Expect().


Generated on Mon May 8 00:49:02 2006 for Vesta by  doxygen 1.4.2