org.apache.commons.jxpath.ri.parser
Class XPathParser
java.lang.Object
org.apache.commons.jxpath.ri.parser.XPathParser
- All Implemented Interfaces:
- XPathParserConstants
- public class XPathParser
- extends java.lang.Object
- implements XPathParserConstants
Fields inherited from interface org.apache.commons.jxpath.ri.parser.XPathParserConstants |
AND, AXIS_ANCESTOR, AXIS_ANCESTOR_OR_SELF, AXIS_ATTRIBUTE, AXIS_CHILD, AXIS_DESCENDANT, AXIS_DESCENDANT_OR_SELF, AXIS_FOLLOWING, AXIS_FOLLOWING_SIBLING, AXIS_NAMESPACE, AXIS_PARENT, AXIS_PRECEDING, AXIS_PRECEDING_SIBLING, AXIS_SELF, BaseChar, CombiningChar, COMMENT, DEFAULT, Digit, DIV, EOF, EQ, Extender, FUNCTION_BOOLEAN, FUNCTION_CEILING, FUNCTION_CONCAT, FUNCTION_CONTAINS, FUNCTION_COUNT, FUNCTION_FALSE, FUNCTION_FLOOR, FUNCTION_FORMAT_NUMBER, FUNCTION_ID, FUNCTION_KEY, FUNCTION_LANG, FUNCTION_LAST, FUNCTION_LOCAL_NAME, FUNCTION_NAME, FUNCTION_NAMESPACE_URI, FUNCTION_NORMALIZE_SPACE, FUNCTION_NOT, FUNCTION_NULL, FUNCTION_NUMBER, FUNCTION_POSITION, FUNCTION_ROUND, FUNCTION_STARTS_WITH, FUNCTION_STRING, FUNCTION_STRING_LENGTH, FUNCTION_SUBSTRING, FUNCTION_SUBSTRING_AFTER, FUNCTION_SUBSTRING_BEFORE, FUNCTION_SUM, FUNCTION_TRANSLATE, FUNCTION_TRUE, GT, GTE, Ideographic, Letter, Literal, LT, LTE, MINUS, MOD, NCName, NEQ, NODE, Number, OR, PI, PLUS, SLASH, SLASHSLASH, TEXT, tokenImage, UnicodeDigit, UNION, VARIABLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compiler
private Compiler compiler
token_source
public XPathParserTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_scanpos
private Token jj_scanpos
jj_lastpos
private Token jj_lastpos
jj_la
private int jj_la
lookingAhead
public boolean lookingAhead
jj_semLA
private boolean jj_semLA
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private static int[] jj_la1_0
jj_la1_1
private static int[] jj_la1_1
jj_la1_2
private static int[] jj_la1_2
jj_2_rtns
private final XPathParser.JJCalls[] jj_2_rtns
jj_rescan
private boolean jj_rescan
jj_gc
private int jj_gc
jj_expentries
private java.util.Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
jj_lasttokens
private int[] jj_lasttokens
jj_endpos
private int jj_endpos
XPathParser
public XPathParser(java.io.InputStream stream)
XPathParser
public XPathParser(java.io.Reader stream)
XPathParser
public XPathParser(XPathParserTokenManager tm)
setCompiler
public void setCompiler(Compiler compiler)
unescape
private java.lang.String unescape(java.lang.String string)
NCName
public final java.lang.String NCName()
throws ParseException
- Throws:
ParseException
NCName_Without_CoreFunctions
public final java.lang.String NCName_Without_CoreFunctions()
throws ParseException
- Throws:
ParseException
CoreFunctionName
public final int CoreFunctionName()
throws ParseException
- Throws:
ParseException
QName
public final java.lang.Object QName()
throws ParseException
- Throws:
ParseException
QName_Without_CoreFunctions
public final java.lang.Object QName_Without_CoreFunctions()
throws ParseException
- Throws:
ParseException
parseExpression
public final java.lang.Object parseExpression()
throws ParseException
- Throws:
ParseException
LocationPath
public final java.lang.Object LocationPath()
throws ParseException
- Throws:
ParseException
AbsoluteLocationPath
public final java.lang.Object AbsoluteLocationPath()
throws ParseException
- Throws:
ParseException
RelativeLocationPath
public final java.lang.Object RelativeLocationPath()
throws ParseException
- Throws:
ParseException
LocationStep
public final void LocationStep(java.util.ArrayList steps)
throws ParseException
- Throws:
ParseException
NodeTest
public final void NodeTest(java.util.ArrayList steps)
throws ParseException
- Throws:
ParseException
AxisSpecifier
public final int AxisSpecifier()
throws ParseException
- Throws:
ParseException
AxisName
public final int AxisName()
throws ParseException
- Throws:
ParseException
Predicate
public final java.lang.Object Predicate()
throws ParseException
- Throws:
ParseException
AbbreviatedAxisSpecifier
public final int AbbreviatedAxisSpecifier()
throws ParseException
- Throws:
ParseException
Expression
public final java.lang.Object Expression()
throws ParseException
- Throws:
ParseException
PrimaryExpr
public final java.lang.Object PrimaryExpr()
throws ParseException
- Throws:
ParseException
FunctionCall
public final java.lang.Object FunctionCall()
throws ParseException
- Throws:
ParseException
CoreFunctionCall
public final java.lang.Object CoreFunctionCall()
throws ParseException
- Throws:
ParseException
ArgumentList
public final java.util.ArrayList ArgumentList()
throws ParseException
- Throws:
ParseException
Argument
public final java.lang.Object Argument()
throws ParseException
- Throws:
ParseException
UnionExpr
public final java.lang.Object UnionExpr()
throws ParseException
- Throws:
ParseException
PathExpr
public final java.lang.Object PathExpr()
throws ParseException
- Throws:
ParseException
FilterExpr
public final java.lang.Object FilterExpr()
throws ParseException
- Throws:
ParseException
OrExpr
public final java.lang.Object OrExpr()
throws ParseException
- Throws:
ParseException
AndExpr
public final java.lang.Object AndExpr()
throws ParseException
- Throws:
ParseException
EqualityExpr
public final java.lang.Object EqualityExpr()
throws ParseException
- Throws:
ParseException
RelationalExpr
public final java.lang.Object RelationalExpr()
throws ParseException
- Throws:
ParseException
AdditiveExpr
public final java.lang.Object AdditiveExpr()
throws ParseException
- Throws:
ParseException
SubtractiveExpr
public final java.lang.Object SubtractiveExpr()
throws ParseException
- Throws:
ParseException
MultiplicativeExpr
public final java.lang.Object MultiplicativeExpr()
throws ParseException
- Throws:
ParseException
UnaryExpr
public final java.lang.Object UnaryExpr()
throws ParseException
- Throws:
ParseException
FunctionName
public final java.lang.Object FunctionName()
throws ParseException
- Throws:
ParseException
VariableReference
public final java.lang.Object VariableReference()
throws ParseException
- Throws:
ParseException
WildcardName
public final java.lang.Object WildcardName()
throws ParseException
- Throws:
ParseException
NodeType
public final int NodeType()
throws ParseException
- Throws:
ParseException
jj_2_1
private final boolean jj_2_1(int xla)
jj_2_2
private final boolean jj_2_2(int xla)
jj_2_3
private final boolean jj_2_3(int xla)
jj_2_4
private final boolean jj_2_4(int xla)
jj_2_5
private final boolean jj_2_5(int xla)
jj_2_6
private final boolean jj_2_6(int xla)
jj_3R_65
private final boolean jj_3R_65()
jj_3R_104
private final boolean jj_3R_104()
jj_3R_64
private final boolean jj_3R_64()
jj_3R_63
private final boolean jj_3R_63()
jj_3R_62
private final boolean jj_3R_62()
jj_3R_18
private final boolean jj_3R_18()
jj_3R_111
private final boolean jj_3R_111()
jj_3R_110
private final boolean jj_3R_110()
jj_3R_109
private final boolean jj_3R_109()
jj_3R_108
private final boolean jj_3R_108()
jj_3R_107
private final boolean jj_3R_107()
jj_3R_173
private final boolean jj_3R_173()
jj_3R_98
private final boolean jj_3R_98()
jj_3R_171
private final boolean jj_3R_171()
jj_3R_172
private final boolean jj_3R_172()
jj_3R_153
private final boolean jj_3R_153()
jj_3R_130
private final boolean jj_3R_130()
jj_3R_54
private final boolean jj_3R_54()
jj_3R_170
private final boolean jj_3R_170()
jj_3R_53
private final boolean jj_3R_53()
jj_3R_52
private final boolean jj_3R_52()
jj_3R_51
private final boolean jj_3R_51()
jj_3R_50
private final boolean jj_3R_50()
jj_3R_49
private final boolean jj_3R_49()
jj_3R_48
private final boolean jj_3R_48()
jj_3R_176
private final boolean jj_3R_176()
jj_3R_47
private final boolean jj_3R_47()
jj_3R_175
private final boolean jj_3R_175()
jj_3R_46
private final boolean jj_3R_46()
jj_3R_174
private final boolean jj_3R_174()
jj_3R_45
private final boolean jj_3R_45()
jj_3R_44
private final boolean jj_3R_44()
jj_3R_43
private final boolean jj_3R_43()
jj_3R_42
private final boolean jj_3R_42()
jj_3R_41
private final boolean jj_3R_41()
jj_3R_116
private final boolean jj_3R_116()
jj_3R_40
private final boolean jj_3R_40()
jj_3R_39
private final boolean jj_3R_39()
jj_3R_38
private final boolean jj_3R_38()
jj_3R_37
private final boolean jj_3R_37()
jj_3R_36
private final boolean jj_3R_36()
jj_3R_168
private final boolean jj_3R_168()
jj_3R_35
private final boolean jj_3R_35()
jj_3R_34
private final boolean jj_3R_34()
jj_3R_33
private final boolean jj_3R_33()
jj_3R_32
private final boolean jj_3R_32()
jj_3R_31
private final boolean jj_3R_31()
jj_3R_30
private final boolean jj_3R_30()
jj_3R_29
private final boolean jj_3R_29()
jj_3R_169
private final boolean jj_3R_169()
jj_3R_28
private final boolean jj_3R_28()
jj_3R_27
private final boolean jj_3R_27()
jj_3R_152
private final boolean jj_3R_152()
jj_3R_26
private final boolean jj_3R_26()
jj_3R_25
private final boolean jj_3R_25()
jj_3R_151
private final boolean jj_3R_151()
jj_3R_24
private final boolean jj_3R_24()
jj_3R_150
private final boolean jj_3R_150()
jj_3R_23
private final boolean jj_3R_23()
jj_3R_149
private final boolean jj_3R_149()
jj_3R_163
private final boolean jj_3R_163()
jj_3R_22
private final boolean jj_3R_22()
jj_3R_148
private final boolean jj_3R_148()
jj_3R_21
private final boolean jj_3R_21()
jj_3R_147
private final boolean jj_3R_147()
jj_3R_20
private final boolean jj_3R_20()
jj_3R_146
private final boolean jj_3R_146()
jj_3R_145
private final boolean jj_3R_145()
jj_3R_162
private final boolean jj_3R_162()
jj_3R_144
private final boolean jj_3R_144()
jj_3R_143
private final boolean jj_3R_143()
jj_3R_142
private final boolean jj_3R_142()
jj_3R_15
private final boolean jj_3R_15()
jj_3R_141
private final boolean jj_3R_141()
jj_3R_140
private final boolean jj_3R_140()
jj_3R_129
private final boolean jj_3R_129()
jj_3R_159
private final boolean jj_3R_159()
jj_3R_158
private final boolean jj_3R_158()
jj_3R_122
private final boolean jj_3R_122()
jj_3R_121
private final boolean jj_3R_121()
jj_3R_167
private final boolean jj_3R_167()
jj_3R_112
private final boolean jj_3R_112()
jj_3R_166
private final boolean jj_3R_166()
jj_3R_165
private final boolean jj_3R_165()
jj_3R_157
private final boolean jj_3R_157()
jj_3R_164
private final boolean jj_3R_164()
jj_3R_156
private final boolean jj_3R_156()
jj_3R_161
private final boolean jj_3R_161()
jj_3R_160
private final boolean jj_3R_160()
jj_3R_102
private final boolean jj_3R_102()
jj_3_4
private final boolean jj_3_4()
jj_3_3
private final boolean jj_3_3()
jj_3R_101
private final boolean jj_3R_101()
jj_3R_100
private final boolean jj_3R_100()
jj_3R_115
private final boolean jj_3R_115()
jj_3R_134
private final boolean jj_3R_134()
jj_3R_114
private final boolean jj_3R_114()
jj_3R_113
private final boolean jj_3R_113()
jj_3R_99
private final boolean jj_3R_99()
jj_3R_135
private final boolean jj_3R_135()
jj_3R_57
private final boolean jj_3R_57()
jj_3R_125
private final boolean jj_3R_125()
jj_3R_193
private final boolean jj_3R_193()
jj_3R_56
private final boolean jj_3R_56()
jj_3R_55
private final boolean jj_3R_55()
jj_3R_126
private final boolean jj_3R_126()
jj_3R_16
private final boolean jj_3R_16()
jj_3R_190
private final boolean jj_3R_190()
jj_3R_118
private final boolean jj_3R_118()
jj_3R_188
private final boolean jj_3R_188()
jj_3_2
private final boolean jj_3_2()
jj_3R_185
private final boolean jj_3R_185()
jj_3R_192
private final boolean jj_3R_192()
jj_3R_191
private final boolean jj_3R_191()
jj_3R_184
private final boolean jj_3R_184()
jj_3R_189
private final boolean jj_3R_189()
jj_3R_182
private final boolean jj_3R_182()
jj_3_6
private final boolean jj_3_6()
jj_3R_187
private final boolean jj_3R_187()
jj_3R_186
private final boolean jj_3R_186()
jj_3R_183
private final boolean jj_3R_183()
jj_3R_181
private final boolean jj_3R_181()
jj_3R_180
private final boolean jj_3R_180()
jj_3R_178
private final boolean jj_3R_178()
jj_3R_179
private final boolean jj_3R_179()
jj_3R_177
private final boolean jj_3R_177()
jj_3R_136
private final boolean jj_3R_136()
jj_3R_137
private final boolean jj_3R_137()
jj_3R_127
private final boolean jj_3R_127()
jj_3R_119
private final boolean jj_3R_119()
jj_3R_61
private final boolean jj_3R_61()
jj_3R_60
private final boolean jj_3R_60()
jj_3R_59
private final boolean jj_3R_59()
jj_3R_58
private final boolean jj_3R_58()
jj_3_1
private final boolean jj_3_1()
jj_3R_17
private final boolean jj_3R_17()
jj_3R_155
private final boolean jj_3R_155()
jj_3R_139
private final boolean jj_3R_139()
jj_3R_138
private final boolean jj_3R_138()
jj_3R_154
private final boolean jj_3R_154()
jj_3R_132
private final boolean jj_3R_132()
jj_3R_105
private final boolean jj_3R_105()
jj_3R_124
private final boolean jj_3R_124()
jj_3R_133
private final boolean jj_3R_133()
jj_3R_128
private final boolean jj_3R_128()
jj_3R_131
private final boolean jj_3R_131()
jj_3R_123
private final boolean jj_3R_123()
jj_3R_106
private final boolean jj_3R_106()
jj_3R_117
private final boolean jj_3R_117()
jj_3_5
private final boolean jj_3_5()
jj_3R_103
private final boolean jj_3R_103()
jj_3R_91
private final boolean jj_3R_91()
jj_3R_90
private final boolean jj_3R_90()
jj_3R_89
private final boolean jj_3R_89()
jj_3R_88
private final boolean jj_3R_88()
jj_3R_97
private final boolean jj_3R_97()
jj_3R_87
private final boolean jj_3R_87()
jj_3R_96
private final boolean jj_3R_96()
jj_3R_86
private final boolean jj_3R_86()
jj_3R_95
private final boolean jj_3R_95()
jj_3R_85
private final boolean jj_3R_85()
jj_3R_94
private final boolean jj_3R_94()
jj_3R_84
private final boolean jj_3R_84()
jj_3R_93
private final boolean jj_3R_93()
jj_3R_83
private final boolean jj_3R_83()
jj_3R_92
private final boolean jj_3R_92()
jj_3R_82
private final boolean jj_3R_82()
jj_3R_81
private final boolean jj_3R_81()
jj_3R_120
private final boolean jj_3R_120()
jj_3R_80
private final boolean jj_3R_80()
jj_3R_79
private final boolean jj_3R_79()
jj_3R_78
private final boolean jj_3R_78()
jj_3R_77
private final boolean jj_3R_77()
jj_3R_19
private final boolean jj_3R_19()
jj_3R_76
private final boolean jj_3R_76()
jj_3R_75
private final boolean jj_3R_75()
jj_3R_74
private final boolean jj_3R_74()
jj_3R_73
private final boolean jj_3R_73()
jj_3R_72
private final boolean jj_3R_72()
jj_3R_71
private final boolean jj_3R_71()
jj_3R_70
private final boolean jj_3R_70()
jj_3R_69
private final boolean jj_3R_69()
jj_3R_68
private final boolean jj_3R_68()
jj_3R_67
private final boolean jj_3R_67()
jj_3R_66
private final boolean jj_3R_66()
jj_la1_0
private static void jj_la1_0()
jj_la1_1
private static void jj_la1_1()
jj_la1_2
private static void jj_la1_2()
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(XPathParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
jj_scan_token
private final boolean jj_scan_token(int kind)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_add_error_token
private void jj_add_error_token(int kind,
int pos)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
jj_rescan_token
private final void jj_rescan_token()
jj_save
private final void jj_save(int index,
int xla)