public final class Parser extends Object implements ParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
protected static org.apache.commons.logging.Log |
log |
Token |
token
Current token.
|
ParserTokenManager |
token_source
Generated Token Manager.
|
| Constructor and Description |
|---|
Parser(InputStream stream)
Constructor with InputStream.
|
Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
Parser(ParserTokenManager tm)
Constructor with generated Token Manager.
|
Parser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
comparative_expression() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
Object |
findValue() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
boolean |
logical_and_expression() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(ParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
setValueStack(ValueStack valueStack)
Set the value stack
|
boolean |
test() |
protected static org.apache.commons.logging.Log log
public ParserTokenManager token_source
public Token token
public Token jj_nt
public Parser(InputStream stream)
public Parser(InputStream stream, String encoding)
public Parser(Reader stream)
public Parser(ParserTokenManager tm)
public void setValueStack(ValueStack valueStack)
public final boolean test()
throws ParseException
ParseExceptionpublic final boolean logical_and_expression()
throws ParseException
ParseExceptionpublic final boolean comparative_expression()
throws ParseException
ParseExceptionpublic final Object findValue() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2013 Atlassian. All Rights Reserved.