com.werken.xpath.parser
Class XPathRecognizer

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by com.werken.xpath.parser.XPathRecognizer
All Implemented Interfaces:
XPathTokenTypes

public class XPathRecognizer
extends antlr.LLkParser
implements XPathTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_21
           
static antlr.collections.impl.BitSet _tokenSet_22
           
static antlr.collections.impl.BitSet _tokenSet_23
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static 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
  XPathRecognizer(antlr.ParserSharedInputState state)
           
  XPathRecognizer(antlr.TokenBuffer tokenBuf)
           
protected XPathRecognizer(antlr.TokenBuffer tokenBuf, int k)
           
  XPathRecognizer(antlr.TokenStream lexer)
           
protected XPathRecognizer(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void abbr_axis_specifier()
           
 Step abbr_step()
           
 LocationPath absolute_location_path()
           
 Expr additive_expr()
           
 Expr and_expr()
           
 java.util.List arg_list()
           
 Expr argument()
           
 java.lang.String axis()
           
 Expr equality_expr()
           
 Expr expr()
           
 FilterExpr filter_expr()
           
 FunctionExpr function_call()
           
 LocationPath i_relative_location_path(LocationPath in_path)
           
 Expr literal()
           
 LocationPath location_path()
           
 Expr mult_expr()
           
 Expr number()
           
 Expr or_expr()
           
 PathExpr path_expr()
           
 Predicate predicate_expr()
           
 Predicate predicate()
           
 Expr primary_expr()
           
 Expr relational_expr()
           
 LocationPath relative_location_path()
           
 Step special_step(java.lang.String axis)
           
 Step step()
           
 Expr unary_expr()
           
 Expr union_expr()
           
 VariableExpr variable_reference()
           
 Expr xpath()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.RecognitionException
antlr.TokenStreamException

union_expr

public final Expr union_expr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

location_path

public final LocationPath location_path()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

absolute_location_path

public final LocationPath absolute_location_path()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

relative_location_path

public final LocationPath relative_location_path()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

i_relative_location_path

public final LocationPath i_relative_location_path(LocationPath in_path)
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

step

public final Step step()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

axis

public final java.lang.String axis()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

special_step

public final Step special_step(java.lang.String axis)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

predicate

public final Predicate predicate()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

abbr_step

public final Step abbr_step()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

predicate_expr

public final Predicate predicate_expr()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expr

public final Expr expr()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

abbr_axis_specifier

public final void abbr_axis_specifier()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

or_expr

public final Expr or_expr()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

primary_expr

public final Expr primary_expr()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variable_reference

public final VariableExpr variable_reference()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final Expr literal()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

number

public final Expr number()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

function_call

public final FunctionExpr function_call()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

arg_list

public final java.util.List arg_list()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

argument

public final Expr argument()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

path_expr

public final PathExpr path_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

filter_expr

public final FilterExpr filter_expr()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

and_expr

public final Expr and_expr()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

equality_expr

public final Expr equality_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

relational_expr

public final Expr relational_expr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

additive_expr

public final Expr additive_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

mult_expr

public final Expr mult_expr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unary_expr

public final Expr unary_expr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.