Package jason.mas2j.parser
Class mas2j
java.lang.Object
jason.mas2j.parser.mas2j
- All Implemented Interfaces:
mas2jConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface jason.mas2j.parser.mas2jConstants
AGS, ASAGARCHCLASS, ASAGCLASS, ASID, ASOBOOL, ASOEE, ASOEEV, ASOIB, ASOIBV, ASONRC, ASOSYNC, ASOV, AT, BBCLASS, CLASSPATH, CONTROL, DEFAULT, DIGIT, DIRECTIVE, DRIVER, ENV, EOF, ID, INFRA, LC_LETTER, LETTER, MAS, NUMBER, PATH, SOURCEPATH, STRING, tokenImage, UP_LETTER -
Constructor Summary
ConstructorsConstructorDescriptionConstructor with generated Token Manager.mas2j(InputStream stream) Constructor with InputStream.mas2j(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidagent()final voidagents()final Mapfinal ClassParametersclassDef()final voidfinal voidcontrol()final voidfinal voidDisable tracing.final voidEnable tracing.final voidfinal StringfileName()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidinfra()final Stringfinal MAS2JProjectmas()final Stringfinal MapprocOption(Map opts) voidReinitialise.voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.final void
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
mas2j
Constructor with InputStream. -
mas2j
Constructor with InputStream and supplied encoding -
mas2j
Constructor. -
mas2j
Constructor with generated Token Manager.
-
-
Method Details
-
mas
- Throws:
ParseException
-
infra
- Throws:
ParseException
-
agents
- Throws:
ParseException
-
agent
- Throws:
ParseException
-
fileName
- Throws:
ParseException
-
classDef
- Throws:
ParseException
-
parameter
- Throws:
ParseException
-
listParameters
- Throws:
ParseException
-
ASoptions
- Throws:
ParseException
-
procOption
- Throws:
ParseException
-
environment
- Throws:
ParseException
-
control
- Throws:
ParseException
-
classpath
- Throws:
ParseException
-
sourcepath
- Throws:
ParseException
-
directives
- 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.
-