An XPath 1.0 parser.
ANCESTOR
public static final int ANCESTOR
AND
public static final int AND
AT
public static final int AT
CHILD
public static final int CHILD
COLON
public static final int COLON
COMMA
public static final int COMMA
COMMENT
public static final int COMMENT
DIGITS
public static final int DIGITS
DIV
public static final int DIV
DOLLAR
public static final int DOLLAR
DOT
public static final int DOT
EQ
public static final int EQ
GT
public static final int GT
GTE
public static final int GTE
LB
public static final int LB
LITERAL
public static final int LITERAL
LP
public static final int LP
LT
public static final int LT
LTE
public static final int LTE
MINUS
public static final int MINUS
MOD
public static final int MOD
NAME
public static final int NAME
NE
public static final int NE
NODE
public static final int NODE
OR
public static final int OR
PARENT
public static final int PARENT
PIPE
public static final int PIPE
PLUS
public static final int PLUS
RB
public static final int RB
RP
public static final int RP
SELF
public static final int SELF
SLASH
public static final int SLASH
STAR
public static final int STAR
TEXT
public static final int TEXT
UNARY
public static final int UNARY
yyFinal
protected static final int yyFinal
debugging support, requires the package jay.yydebug.
Set to null to suppress debugging messages.
yyMax
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().
yyDefault
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.
first
- value for $1, or null.
yyExpecting
protected String[] yyExpecting(int state)
computes list of expected tokens on error by tracing the tables.
state
- for which to compute the list.
yyerror
public void yyerror(String message)
simplified error message.
yyerror
public void yyerror(String message,
String[] expected)
(syntax) error message.
Can be overwritten to control message format.
message
- text to be displayed.expected
- vector of acceptable tokens, if available.
XPathParser.y - An XPath 1.0 parser.
Copyright (C) 2004 The Free Software Foundation
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.