LexerContext Class

Definition

Line 13 of scm2html/LexerContext.cm

Constructors & Destructor

public LexerContext(IdentifierClassKind identifierClassKind)
public ~LexerContext()

Member Functions

public void AddUsingNode(Node* usingNode)
public const String<char>& FileName() const
public Symbol* MakeAny()
public Symbol* MakeChar(uchar c)
public Class* MakeClass()
public Symbol* MakeEpsilon()
public Class* MakeIdCont()
public Class* MakeIdStart()
public Symbol* MakeRange(uchar start, uchar end)
public void SetCurrentExpression(Expression* currentExpression_)
public void SetFileName(const String<char>& fileName_)
public const List<Symbol*>& Symbols() const

Member Variables

private Any any
private List<Class*> canonicalClasses
private Map<uchar, Symbol*, Less<uchar>> charSymbols
private int classIndex
private ClassMap* classMap
private Expression* currentExpression
private Char epsilon
private Expressions* expressions
private String<char> fileName
private Class* idCont
private Class* idStart
private Keywords* keywords
private Lexer* lexer
private int lexerStatementIndex
private int nextDfaStateId
private int nextNfaStateId
private List<Class*> partition
private Map<Range, Symbol*, Less<Range>> rangeSymbols
private List<Symbol*> symbols
private Tokens* tokens
private List<Node*> usingNodes
private Usings* usings

Constructor& Destructor Details

LexerContext Constructor

public LexerContext(IdentifierClassKind identifierClassKind)

Definition
Line 15 of scm2html/LexerContext.cm


~LexerContext Destructor

public ~LexerContext()

Definition
Line 31 of scm2html/LexerContext.cm


Member Function Details

AddUsingNode Member Function

public void AddUsingNode(Node* usingNode)

Definition
Line 98 of scm2html/LexerContext.cm


FileName Member Function

public const String<char>& FileName()

Definition
Line 58 of scm2html/LexerContext.cm


MakeAny Member Function

public Symbol* MakeAny()

Definition
Line 38 of scm2html/LexerContext.cm


MakeChar Member Function

public Symbol* MakeChar(uchar c)

Definition
Line 66 of scm2html/LexerContext.cm


MakeClass Member Function

public Class* MakeClass()

Definition
Line 92 of scm2html/LexerContext.cm


MakeEpsilon Member Function

public Symbol* MakeEpsilon()

Definition
Line 42 of scm2html/LexerContext.cm


MakeIdCont Member Function

public Class* MakeIdCont()

Definition
Line 50 of scm2html/LexerContext.cm


MakeIdStart Member Function

public Class* MakeIdStart()

Definition
Line 46 of scm2html/LexerContext.cm


MakeRange Member Function

public Symbol* MakeRange(uchar start, uchar end)

Definition
Line 79 of scm2html/LexerContext.cm


SetCurrentExpression Member Function

public void SetCurrentExpression(Expression* currentExpression_)

Definition
Line 62 of scm2html/LexerContext.cm


SetFileName Member Function

public void SetFileName(const String<char>& fileName_)

Definition
Line 102 of scm2html/LexerContext.cm


Symbols Member Function

public const List<Symbol*>& Symbols()

Definition
Line 54 of scm2html/LexerContext.cm