LexerStatement Class

Definition

Line 231 of scm2html/LexerFile.cm

Constructors & Destructor

public LexerStatement(const String<uchar>& expr_, CompoundStatementNode* stmt_, int action_, int line_)

Member Functions

public int Action() const
public CompoundStatementNode* Code() const
public int Index() const
public int Line() const
public void Parse(LexerContext& lexerContext)
public inline nothrow RegExpression* RegEx() const
public bool Retract() const
public void SetIndex(int index_)
public const String<uchar>& TokenId() const

Member Variables

private int action
private String<uchar> expr
private int index
private int line
private UniquePtr<RegExpression> regEx
private bool retract
private UniquePtr<CompoundStatementNode> stmt
private String<uchar> tokenId

Constructor& Destructor Details

LexerStatement Constructor

public LexerStatement(const String<uchar>& expr_, CompoundStatementNode* stmt_, int action_, int line_)

Definition
Line 233 of scm2html/LexerFile.cm


Member Function Details

Action Member Function

public int Action()

Definition
Line 261 of scm2html/LexerFile.cm


Code Member Function

public CompoundStatementNode* Code()

Definition
Line 253 of scm2html/LexerFile.cm


Index Member Function

public int Index()

Definition
Line 249 of scm2html/LexerFile.cm


Line Member Function

public int Line()

Definition
Line 265 of scm2html/LexerFile.cm


Parse Member Function

public void Parse(LexerContext& lexerContext)

Definition
Line 240 of scm2html/LexerFile.cm


RegEx Member Function

public inline nothrow RegExpression* RegEx()

Definition
Line 273 of scm2html/LexerFile.cm


Retract Member Function

public bool Retract()

Definition
Line 257 of scm2html/LexerFile.cm


SetIndex Member Function

public void SetIndex(int index_)

Definition
Line 245 of scm2html/LexerFile.cm


TokenId Member Function

public const String<uchar>& TokenId()

Definition
Line 269 of scm2html/LexerFile.cm