public class SPathParser extends java.lang.Object implements SPathParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt |
boolean |
lookingAhead |
Token |
token |
SPathParserTokenManager |
token_source |
AT, COLON, COMBINING_CHAR, DASH, DEFAULT, DIGIT, DOT, END_BRACKET, EOF, EQUALS, EXTENDER, LETTER, LITERAL, NCNAME, NCNAMECHAR, NSWILDCARD, QNAME, SLASH, STAR, START_BRACKET, tokenImage, UNDERSCORE
Constructor and Description |
---|
SPathParser(java.io.InputStream stream) |
SPathParser(java.io.Reader stream) |
SPathParser(SPathParserTokenManager tm) |
SPathParser(java.lang.String x) |
Modifier and Type | Method and Description |
---|---|
AbsolutePath |
absolutePath() |
Predicate |
attributePredicate() |
void |
disable_tracing() |
void |
enable_tracing() |
Path |
expression() |
ParseException |
generateParseException() |
Token |
getNextToken() |
Token |
getToken(int index) |
static void |
main(java.lang.String[] args)
Simple command-line parser interface, primarily for testing.
|
java.lang.String |
nameTest() |
Predicate |
predicate() |
void |
ReInit(java.io.InputStream stream) |
void |
ReInit(java.io.Reader stream) |
void |
ReInit(SPathParserTokenManager tm) |
RelativePath |
relativePath() |
Step |
step() |
public SPathParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public SPathParser(java.lang.String x)
public SPathParser(java.io.InputStream stream)
public SPathParser(java.io.Reader stream)
public SPathParser(SPathParserTokenManager tm)
public static void main(java.lang.String[] args) throws ParseException
ParseException
public final Path expression() throws ParseException
ParseException
public final AbsolutePath absolutePath() throws ParseException
ParseException
public final RelativePath relativePath() throws ParseException
ParseException
public final Step step() throws ParseException
ParseException
public final java.lang.String nameTest() throws ParseException
ParseException
public final Predicate predicate() throws ParseException
ParseException
public final Predicate attributePredicate() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(SPathParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()