Package jason.mas2j.parser
Class mas2j
java.lang.Object
jason.mas2j.parser.mas2j
- All Implemented Interfaces:
mas2jConstants
-
Field Summary
Modifier 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
ConstructorDescriptionConstructor 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 void
agent()
final void
agents()
final Map
final ClassParameters
classDef()
final void
final void
control()
final void
final void
Disable tracing.final void
Enable tracing.final void
final String
fileName()
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final void
infra()
final String
final MAS2JProject
mas()
final String
final Map
procOption
(Map opts) void
Reinitialise.void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.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.
-