antlr

Class CharLiteralElement


(package private) class CharLiteralElement
extends GrammarAtom

Field Summary

Fields inherited from class antlr.GrammarAtom

ASTNodeType, atomText, label, not, tokenType

Fields inherited from class antlr.AlternativeElement

autoGenType, enclosingRuleName, next

Fields inherited from class antlr.GrammarElement

AUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line

Constructor Summary

CharLiteralElement(LexerGrammar g, Token t, boolean inverted, int autoGenType)

Method Summary

void
generate()
Lookahead
look(int k)

Methods inherited from class antlr.GrammarAtom

getASTNodeType, getLabel, getText, getType, setASTNodeType, setLabel, setOption, toString

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Constructor Details

CharLiteralElement

public CharLiteralElement(LexerGrammar g,
                          Token t,
                          boolean inverted,
                          int autoGenType)

Method Details

generate

public void generate()
Overrides:
generate in interface GrammarElement


look

public Lookahead look(int k)
Overrides:
look in interface GrammarElement