Package com.werken.xpath.parser
Class XPathRecognizer
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- com.werken.xpath.parser.XPathRecognizer
-
- All Implemented Interfaces:
XPathTokenTypes
public class XPathRecognizer extends antlr.LLkParser implements XPathTokenTypes
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]_tokenNamesstatic antlr.collections.impl.BitSet_tokenSet_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_10static antlr.collections.impl.BitSet_tokenSet_11static antlr.collections.impl.BitSet_tokenSet_12static antlr.collections.impl.BitSet_tokenSet_13static antlr.collections.impl.BitSet_tokenSet_14static antlr.collections.impl.BitSet_tokenSet_15static antlr.collections.impl.BitSet_tokenSet_16static antlr.collections.impl.BitSet_tokenSet_17static antlr.collections.impl.BitSet_tokenSet_18static antlr.collections.impl.BitSet_tokenSet_19static antlr.collections.impl.BitSet_tokenSet_2static antlr.collections.impl.BitSet_tokenSet_20static antlr.collections.impl.BitSet_tokenSet_21static antlr.collections.impl.BitSet_tokenSet_22static antlr.collections.impl.BitSet_tokenSet_23static antlr.collections.impl.BitSet_tokenSet_3static antlr.collections.impl.BitSet_tokenSet_4static antlr.collections.impl.BitSet_tokenSet_5static antlr.collections.impl.BitSet_tokenSet_6static antlr.collections.impl.BitSet_tokenSet_7static antlr.collections.impl.BitSet_tokenSet_8static antlr.collections.impl.BitSet_tokenSet_9-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Fields inherited from interface com.werken.xpath.parser.XPathTokenTypes
AT, COLON, COMMA, DIV, DOLLAR_SIGN, DOT, DOT_DOT, DOUBLE_COLON, DOUBLE_SLASH, EOF, EQUALS, GT, GTE, IDENTIFIER, KW_AND, KW_OR, LEFT_BRACKET, LEFT_PAREN, LITERAL, LT, LTE, MINUS, MOD, NOT_EQUALS, NULL_TREE_LOOKAHEAD, NUMBER, PIPE, PLUS, RIGHT_BRACKET, RIGHT_PAREN, SLASH, STAR
-
-
Constructor Summary
Constructors Modifier Constructor Description XPathRecognizer(antlr.ParserSharedInputState state)XPathRecognizer(antlr.TokenBuffer tokenBuf)protectedXPathRecognizer(antlr.TokenBuffer tokenBuf, int k)XPathRecognizer(antlr.TokenStream lexer)protectedXPathRecognizer(antlr.TokenStream lexer, int k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabbr_axis_specifier()Stepabbr_step()LocationPathabsolute_location_path()Expradditive_expr()Exprand_expr()java.util.Listarg_list()Exprargument()java.lang.Stringaxis()Exprequality_expr()Exprexpr()FilterExprfilter_expr()FunctionExprfunction_call()LocationPathi_relative_location_path(LocationPath in_path)Exprliteral()LocationPathlocation_path()Exprmult_expr()Exprnumber()Expror_expr()PathExprpath_expr()Predicatepredicate()Predicatepredicate_expr()Exprprimary_expr()Exprrelational_expr()LocationPathrelative_location_path()Stepspecial_step(java.lang.String axis)Stepstep()Exprunary_expr()Exprunion_expr()VariableExprvariable_reference()Exprxpath()-
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
-
-
-
-
Field Detail
-
_tokenNames
public static final java.lang.String[] _tokenNames
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
-
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
-
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
-
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
-
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
-
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
-
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
-
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
-
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
-
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10
-
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
-
_tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_12
-
_tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_13
-
_tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_14
-
_tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_15
-
_tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_16
-
_tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_17
-
_tokenSet_18
public static final antlr.collections.impl.BitSet _tokenSet_18
-
_tokenSet_19
public static final antlr.collections.impl.BitSet _tokenSet_19
-
_tokenSet_20
public static final antlr.collections.impl.BitSet _tokenSet_20
-
_tokenSet_21
public static final antlr.collections.impl.BitSet _tokenSet_21
-
_tokenSet_22
public static final antlr.collections.impl.BitSet _tokenSet_22
-
_tokenSet_23
public static final antlr.collections.impl.BitSet _tokenSet_23
-
-
Constructor Detail
-
XPathRecognizer
protected XPathRecognizer(antlr.TokenBuffer tokenBuf, int k)
-
XPathRecognizer
public XPathRecognizer(antlr.TokenBuffer tokenBuf)
-
XPathRecognizer
protected XPathRecognizer(antlr.TokenStream lexer, int k)
-
XPathRecognizer
public XPathRecognizer(antlr.TokenStream lexer)
-
XPathRecognizer
public XPathRecognizer(antlr.ParserSharedInputState state)
-
-
Method Detail
-
xpath
public final Expr xpath() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
union_expr
public final Expr union_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
location_path
public final LocationPath location_path() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
absolute_location_path
public final LocationPath absolute_location_path() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
relative_location_path
public final LocationPath relative_location_path() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
i_relative_location_path
public final LocationPath i_relative_location_path(LocationPath in_path) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
step
public final Step step() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
axis
public final java.lang.String axis() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
special_step
public final Step special_step(java.lang.String axis) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
predicate
public final Predicate predicate() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
abbr_step
public final Step abbr_step() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
predicate_expr
public final Predicate predicate_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
expr
public final Expr expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
abbr_axis_specifier
public final void abbr_axis_specifier() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
or_expr
public final Expr or_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
primary_expr
public final Expr primary_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
variable_reference
public final VariableExpr variable_reference() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
literal
public final Expr literal() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
number
public final Expr number() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
function_call
public final FunctionExpr function_call() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
arg_list
public final java.util.List arg_list() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
argument
public final Expr argument() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
path_expr
public final PathExpr path_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
filter_expr
public final FilterExpr filter_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
and_expr
public final Expr and_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
equality_expr
public final Expr equality_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
relational_expr
public final Expr relational_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
additive_expr
public final Expr additive_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
mult_expr
public final Expr mult_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
unary_expr
public final Expr unary_expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
-