Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.xml.xpath.XPathParser
public class XPathParser
extends java.lang.Object
Nested Class Summary | |
static class |
|
static interface |
|
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class | |
protected static class |
Field Summary | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
protected static int |
|
protected int |
|
Method Summary | |
protected Object |
|
protected String[] |
|
void |
|
void |
|
Object |
|
Object |
|
public static final int ANCESTOR
- Field Value:
- 283
public static final int ANCESTOR_OR_SELF
- Field Value:
- 284
public static final int AND
- Field Value:
- 299
public static final int AT
- Field Value:
- 276
public static final int ATTRIBUTE
- Field Value:
- 285
public static final int CHILD
- Field Value:
- 286
public static final int COLON
- Field Value:
- 279
public static final int COMMA
- Field Value:
- 264
public static final int COMMENT
- Field Value:
- 300
public static final int DESCENDANT
- Field Value:
- 287
public static final int DESCENDANT_OR_SELF
- Field Value:
- 288
public static final int DIGITS
- Field Value:
- 258
public static final int DIV
- Field Value:
- 296
public static final int DOLLAR
- Field Value:
- 278
public static final int DOT
- Field Value:
- 281
public static final int DOUBLE_COLON
- Field Value:
- 280
public static final int DOUBLE_DOT
- Field Value:
- 282
public static final int DOUBLE_SLASH
- Field Value:
- 267
public static final int EQ
- Field Value:
- 268
public static final int FOLLOWING
- Field Value:
- 289
public static final int FOLLOWING_SIBLING
- Field Value:
- 290
public static final int GT
- Field Value:
- 270
public static final int GTE
- Field Value:
- 272
public static final int LB
- Field Value:
- 262
public static final int LITERAL
- Field Value:
- 257
public static final int LP
- Field Value:
- 260
public static final int LT
- Field Value:
- 271
public static final int LTE
- Field Value:
- 273
public static final int MINUS
- Field Value:
- 275
public static final int MOD
- Field Value:
- 297
public static final int NAME
- Field Value:
- 259
public static final int NAMESPACE
- Field Value:
- 291
public static final int NE
- Field Value:
- 269
public static final int NODE
- Field Value:
- 303
public static final int OR
- Field Value:
- 298
public static final int PARENT
- Field Value:
- 292
public static final int PIPE
- Field Value:
- 265
public static final int PLUS
- Field Value:
- 274
public static final int PRECEDING
- Field Value:
- 293
public static final int PRECEDING_SIBLING
- Field Value:
- 294
public static final int PROCESSING_INSTRUCTION
- Field Value:
- 301
public static final int RB
- Field Value:
- 263
public static final int RP
- Field Value:
- 261
public static final int SELF
- Field Value:
- 295
public static final int SLASH
- Field Value:
- 266
public static final int STAR
- Field Value:
- 277
public static final int TEXT
- Field Value:
- 302
public static final int UNARY
- Field Value:
- 304
public static final int yyErrorCode
- Field Value:
- 256
protected static final int yyFinal
debugging support, requires the package jay.yydebug. Set to null to suppress debugging messages.
- Field Value:
- 30
protected int yyMax
initial size and increment of the state/value stack [default 256]. This is not final so that it can be overwritten outside of invocations of yyparse().
protected Object yyDefault(Object first)
executed at the beginning of a reduce action. Used as $$ = yyDefault($1), prior to the user-specified action, if any. Can be overwritten to provide deep copy, etc.
- Parameters:
first
- value for $1, or null.
- Returns:
- first.
protected String[] yyExpecting(int state)
computes list of expected tokens on error by tracing the tables.
- Parameters:
state
- for which to compute the list.
- Returns:
- list of token names.
public void yyerror(String message, String[] expected)
(syntax) error message. Can be overwritten to control message format.
- Parameters:
message
- text to be displayed.expected
- vector of acceptable tokens, if available.
public Object yyparse(XPathParser.yyInput yyLex) throws java.io.IOException, XPathParser.yyException
the generated parser. Maintains a state and a value stack, currently with fixed maximum size.
- Parameters:
yyLex
- scanner.
- Returns:
- result of the last reduction, if any.
- Throws:
XPathParser.yyException
- on irrecoverable parse error.
public Object yyparse(XPathParser.yyInput yyLex, Object yydebug) throws java.io.IOException, XPathParser.yyException
the generated parser, with debugging messages. Maintains a state and a value stack, currently with fixed maximum size.
- Parameters:
yyLex
- scanner.yydebug
- debug message writer implementing yyDebug, or null.
- Returns:
- result of the last reduction, if any.
- Throws:
XPathParser.yyException
- on irrecoverable parse error.