Package org.tweetyproject.lp.asp.parser
Class ASPParserTokenManager
java.lang.Object
org.tweetyproject.lp.asp.parser.ASPParserTokenManager
-
Field Summary
Modifier and TypeFieldDescriptionDebug output.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.tweetyproject.lp.asp.parser.ASPParserConstants
AGGREGATE_COUNT, AGGREGATE_MAX, AGGREGATE_MIN, AGGREGATE_SUM, AGGREGATE_SUM_PLUS, AGGREGATE_TIMES, ANONYMOUS_VARIABLE, AT, CLINGO_ID, CLINGO_SHOW, COLON, COMMA, COMMENT, CONS, CURLY_CLOSE, CURLY_OPEN, DEFAULT, DIV, DLV_ARITHMETIC_ID, DLV_ID, DOT, EOF, EQUAL, GREATER, GREATER_OR_EQ, ID, LESS, LESS_OR_EQ, MAXIMIZE, META_CONST, META_MAXINT, META_OTHER, MINIMIZE, MINUS, MODULO, MULTI_LINE_COMMENT, NAF, NUMBER, OR, PAREN_CLOSE, PAREN_OPEN, PLUS, QUERY_MARK, SEMICOLON, SQUARE_CLOSE, SQUARE_OPEN, STRING, TIMES, tokenImage, UNEQUAL, VARIABLE, WCONS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ReInit
(SimpleCharStream stream) void
ReInit
(SimpleCharStream stream, int lexState) void
Set debug output.void
SwitchTo
(int lexState)
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names.
-
-
Constructor Details
-
ASPParserTokenManager
- Parameters:
stream
- ASPParserTokenManager
-
ASPParserTokenManager
- Parameters:
stream
- ASPParserlexState
- ASPParser
-
-
Method Details
-
setDebugStream
-
ReInit
- Parameters:
stream
- ReInit
-
ReInit
- Parameters:
stream
- ReInitlexState
- ReInit
-
SwitchTo
public void SwitchTo(int lexState) - Parameters:
lexState
- SwitchTo
-
getNextToken
- Returns:
- getNextToken
-