Class RpclProbabilityDistributionParserTokenManager
java.lang.Object
org.tweetyproject.logics.rpcl.parser.rpclprobabilitydistributionparser.RpclProbabilityDistributionParserTokenManager
- All Implemented Interfaces:
RpclProbabilityDistributionParserConstants
public class RpclProbabilityDistributionParserTokenManager
extends Object
implements RpclProbabilityDistributionParserConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionstatic PrintStream
Debug output.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.tweetyproject.logics.rpcl.parser.rpclprobabilitydistributionparser.RpclProbabilityDistributionParserConstants
DEFAULT, EOF, PROBABILITY, STRUCTURENAME, tokenImage
-
Constructor Summary
ConstructorDescriptionConstructor.RpclProbabilityDistributionParserTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic Token
Get the next Token.static void
ReInit
(SimpleCharStream stream) Reinitialise parser.static void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.static void
Set debug output.static void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names.
-
-
Constructor Details
-
RpclProbabilityDistributionParserTokenManager
Constructor.- Parameters:
stream
- the char stream
-
RpclProbabilityDistributionParserTokenManager
Constructor.- Parameters:
stream
- the char streamlexState
- the state
-
-
Method Details
-
setDebugStream
Set debug output.- Parameters:
ds
- the print stream
-
ReInit
Reinitialise parser.- Parameters:
stream
- the char stream
-
ReInit
Reinitialise parser.- Parameters:
stream
- the char streamlexState
- the state
-
SwitchTo
public static void SwitchTo(int lexState) Switch to specified lex state.- Parameters:
lexState
- the state
-
getNextToken
-