Package eu.bandm.tools.xantlr
Class XANTLRVisitor
java.lang.Object
antlr.TreeParser
eu.bandm.tools.xantlr.XANTLRVisitor
- All Implemented Interfaces:
ANTLRFilter,XANTLRVisitorTokenTypes
-
Field Summary
FieldsFields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepthFields inherited from interface eu.bandm.tools.xantlr.XANTLRVisitorTokenTypes
ACTION, Alternative, ARG_ACTION, ASSIGN, BANG, CARET, CHAR_LITERAL, CharSet, ClassDef, CLOSE_ELEMENT_OPTION, COLON, COMMA, COMMENT, DIGIT, DOC_COMMENT, Element, EOF, ESC, Grammar, IMPLIES, INT, INTERNAL_RULE_REF, LastInRule, LITERAL_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_Lexer, LITERAL_options, LITERAL_Parser, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LITERAL_TreeParser, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, Rule, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, SuperClass, TOKEN_REF, TOKENS, TokensSpecOptions, TREE_BEGIN, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidalternative(antlr.collections.AST _t) final voidast_type_spec(antlr.collections.AST _t) final voidblock(antlr.collections.AST _t) final voidcharSet(antlr.collections.AST _t) final voidclassDef(antlr.collections.AST _t) final voidebnf(antlr.collections.AST _t) final voidelement(antlr.collections.AST _t) final voidelementNoOptionSpec(antlr.collections.AST _t) final voidelementOptionSpec(antlr.collections.AST _t) final voidexceptionGroup(antlr.collections.AST _t) final voidexceptionHandler(antlr.collections.AST _t) final voidexceptionSpec(antlr.collections.AST _t) final voidexceptionSpecNoLabel(antlr.collections.AST _t) final voidfileOptionsSpec(antlr.collections.AST _t) final voidgrammar(antlr.collections.AST _t) final voidid(antlr.collections.AST _t) final voidlexerOptionsSpec(antlr.collections.AST _t) final voidlexerSpec(antlr.collections.AST _t) final voidnotTerminal(antlr.collections.AST _t) final voidoptionValue(antlr.collections.AST _t) final voidparserOptionsSpec(antlr.collections.AST _t) final voidparserSpec(antlr.collections.AST _t) final voidqualifiedID(antlr.collections.AST _t) final voidrange(antlr.collections.AST _t) final voidrootNode(antlr.collections.AST _t) final voidrule(antlr.collections.AST _t) final voidruleOptionsSpec(antlr.collections.AST _t) final voidrules(antlr.collections.AST _t) final voidsetBlockElement(antlr.collections.AST _t) final voidsubruleOptionsSpec(antlr.collections.AST _t) final voidsuperClass(antlr.collections.AST _t) final voidterminal(antlr.collections.AST _t) final voidtokensSpec(antlr.collections.AST _t) final voidtokensSpecOptions(antlr.collections.AST _t) final voidtree(antlr.collections.AST _t) final voidtreeParserOptionsSpec(antlr.collections.AST _t) final voidtreeParserSpec(antlr.collections.AST _t) Methods inherited from class antlr.TreeParser
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.bandm.tools.xantlr.ANTLRFilter
getAST
-
Field Details
-
_tokenNames
-
-
Constructor Details
-
XANTLRVisitor
public XANTLRVisitor()
-
-
Method Details
-
grammar
public final void grammar(antlr.collections.AST _t) throws antlr.RecognitionException - Specified by:
grammarin interfaceANTLRFilter- Throws:
antlr.RecognitionException
-
fileOptionsSpec
public final void fileOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
classDef
public final void classDef(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
lexerSpec
public final void lexerSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
treeParserSpec
public final void treeParserSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
parserSpec
public final void parserSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
rules
public final void rules(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
id
public final void id(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
optionValue
public final void optionValue(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
parserOptionsSpec
public final void parserOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
treeParserOptionsSpec
public final void treeParserOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
lexerOptionsSpec
public final void lexerOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
charSet
public final void charSet(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
subruleOptionsSpec
public final void subruleOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
qualifiedID
public final void qualifiedID(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
setBlockElement
public final void setBlockElement(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
tokensSpec
public final void tokensSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
tokensSpecOptions
public final void tokensSpecOptions(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
superClass
public final void superClass(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
rule
public final void rule(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
ruleOptionsSpec
public final void ruleOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
block
public final void block(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
exceptionGroup
public final void exceptionGroup(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
alternative
public final void alternative(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
element
public final void element(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
exceptionSpecNoLabel
public final void exceptionSpecNoLabel(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
exceptionSpec
public final void exceptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
exceptionHandler
public final void exceptionHandler(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
elementNoOptionSpec
public final void elementNoOptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
elementOptionSpec
public final void elementOptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
range
public final void range(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
terminal
public final void terminal(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
notTerminal
public final void notTerminal(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
ebnf
public final void ebnf(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
tree
public final void tree(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
rootNode
public final void rootNode(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
ast_type_spec
public final void ast_type_spec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-