public class QuestionParser extends Object implements QuestionParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
QuestionParserTokenManager |
token_source
Generated Token Manager.
|
DEFAULT, EOF, OPERATOR1, OPERATOR2, SOIS1, SOIS2, STRING, tokenImage| Constructor and Description |
|---|
QuestionParser(InputStream stream)
Constructor with InputStream.
|
QuestionParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
QuestionParser(QuestionParserTokenManager tm)
Constructor with generated Token Manager.
|
QuestionParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
answer() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
void |
feature() |
void |
features() |
void |
featuring() |
void |
fromTo() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
QuestionHandler |
getQuestionHandler() |
Token |
getToken(int index)
Get the specific Token.
|
void |
in() |
void |
operator() |
void |
pair() |
void |
preprocessor() |
void |
preprocessors() |
void |
query() |
void |
question() |
void |
questionOrOperator() |
void |
questions() |
void |
reference() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(QuestionParserTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
public QuestionParserTokenManager token_source
public Token token
public Token jj_nt
public QuestionParser(InputStream stream)
public QuestionParser(InputStream stream, String encoding)
public QuestionParser(Reader stream)
public QuestionParser(QuestionParserTokenManager tm)
public QuestionHandler getQuestionHandler()
public final void query()
throws ParseException
ParseExceptionpublic final void questionOrOperator()
throws ParseException
ParseExceptionpublic final void featuring()
throws ParseException
ParseExceptionpublic final void features()
throws ParseException
ParseExceptionpublic final void feature()
throws ParseException
ParseExceptionpublic final void questions()
throws ParseException
ParseExceptionpublic final void operator()
throws ParseException
ParseExceptionpublic final void pair()
throws ParseException
ParseExceptionpublic final void question()
throws ParseException
ParseExceptionpublic final void fromTo()
throws ParseException
ParseExceptionpublic final void in()
throws ParseException
ParseExceptionpublic final void reference()
throws ParseException
ParseExceptionpublic final void preprocessors()
throws ParseException
ParseExceptionpublic final void preprocessor()
throws ParseException
ParseExceptionpublic final void answer()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(QuestionParserTokenManager 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 © 2018. All rights reserved.