Class QuestionParser
java.lang.Object
de.foellix.aql.datastructure.handler.QuestionParser
- All Implemented Interfaces:
QuestionParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface de.foellix.aql.datastructure.handler.QuestionParserConstants
CUSTOM_OPERATORS, DEFAULT, ENDING, EOF, FEATURING, FILTER_OPERATOR, FROM, IN, INT, OTHER_OPERATORS, SOIS1, SOIS2, STRING, TO, tokenImage, USES, VARIABLE, WITH -
Constructor Summary
ConstructorsConstructorDescriptionConstructor with generated Token Manager.QuestionParser(InputStream stream) Constructor with InputStream.QuestionParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingQuestionParser(Reader stream) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappEnd()final voidfinal voidDisable tracing.final voidEnable tracing.final voidfeature()final voidfeatures()final voidfrom()final voidfromTo()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidin()final voidfinal voidfinal voidfinal voidfinal voidqueries()final voidquery()final voidquestion()final voidfinal voidfinal voidvoidReinitialise.voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.final voidto()final voiduse()final voiduses()final voidwith()final voidwiths()
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
QuestionParser
Constructor with InputStream. -
QuestionParser
Constructor with InputStream and supplied encoding -
QuestionParser
Constructor. -
QuestionParser
Constructor with generated Token Manager.
-
-
Method Details
-
getQuestionHandler
-
queries
- Throws:
ParseException
-
query
- Throws:
ParseException
-
questionOrVariable
- Throws:
ParseException
-
question
- Throws:
ParseException
-
features
- Throws:
ParseException
-
feature
- Throws:
ParseException
-
uses
- Throws:
ParseException
-
use
- Throws:
ParseException
-
withs
- Throws:
ParseException
-
with
- Throws:
ParseException
-
questions
- Throws:
ParseException
-
loadingQuestion
- Throws:
ParseException
-
operatorQuestion
- Throws:
ParseException
-
defaultQuestion
- Throws:
ParseException
-
fromTo
- Throws:
ParseException
-
from
- Throws:
ParseException
-
to
- Throws:
ParseException
-
in
- Throws:
ParseException
-
reference
- Throws:
ParseException
-
appEnd
- Throws:
ParseException
-
preprocessors
- Throws:
ParseException
-
preprocessor
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-