|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.uppaal.model.io2.XTAReader
public class XTAReader
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
XTAReaderTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface com.uppaal.model.io2.XTAReaderConstants |
|---|
ASSIGN, BECOMES, BODY, BRANCH, CHAN, CLBR, CLBRACE, CLOCK, CLOSE, COLON, COMMA, COMMIT, CONST, DEFAULT, DOT, EOF, EQUAL, ERROR, EXCLMARK, EXTERNAL, FROM, GEQ, GRT, GUARD, ID, IMPLIES, IMPORT, INIT, INT, IS, ISNOT, LEQ, LESS, LOCAL, MINUS, MLCOMMENT, NAT, OPBR, OPBRACE, OPEN, PLUS, PROCESS, QM, SELECT, SEMICOLON, SLASH, SLCOMMENT, STATE, SYNC, SYSTEM, TIMES, tokenImage, TRANS, UNCONTROLLABLETRANS, URGENT, WS |
| Constructor Summary | |
|---|---|
XTAReader(InputStream stream)
Constructor with InputStream. |
|
XTAReader(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
XTAReader(Reader stream)
Constructor. |
|
XTAReader(XTAReaderTokenManager tm)
Constructor with generated Token Manager. |
|
| Method Summary | |
|---|---|
void |
body(Template template)
|
void |
bodyBranch(Template template,
Map locations)
|
void |
bodyBranches(Template template,
Map locations)
|
void |
bodyCommitted(Map locations)
|
void |
bodyInit(Template template,
Map locations)
|
void |
bodyState(Template template,
Map locations)
|
void |
bodyStates(Template template,
Map locations)
|
void |
bodyTransitions(Template template,
Map locations)
|
boolean |
bodyTransitionSymbol()
|
void |
bodyUrgent(Map locations)
|
void |
destination(Template template,
Map locations,
AbstractLocation src,
boolean controllable)
|
void |
disable_tracing()
Disable tracing. |
void |
enable_tracing()
Enable tracing. |
ParseException |
generateParseException()
Generate ParseException. |
String |
getErrors()
|
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
AbstractLocation |
location(Map locations)
|
Document |
parse(Element prototype)
|
void |
processdecl(Document document)
|
void |
PTBody(Template template)
|
void |
PTHead(Template template)
|
void |
PTParamList(Template template)
|
void |
ReInit(InputStream stream)
Reinitialise. |
void |
ReInit(InputStream stream,
String encoding)
Reinitialise. |
void |
ReInit(Reader stream)
Reinitialise. |
void |
ReInit(XTAReaderTokenManager tm)
Reinitialise. |
void |
systemSpec(Document document)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public XTAReaderTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public XTAReader(InputStream stream)
public XTAReader(InputStream stream,
String encoding)
public XTAReader(Reader stream)
public XTAReader(XTAReaderTokenManager tm)
| Method Detail |
|---|
public Document parse(Element prototype)
throws ParseException
ParseExceptionpublic String getErrors()
public final void systemSpec(Document document)
throws ParseException
ParseException
public final void processdecl(Document document)
throws ParseException
ParseException
public final void PTHead(Template template)
throws ParseException
ParseException
public final void PTParamList(Template template)
throws ParseException
ParseException
public final void PTBody(Template template)
throws ParseException
ParseException
public final void body(Template template)
throws ParseException
ParseException
public final void bodyStates(Template template,
Map locations)
throws ParseException
ParseException
public final void bodyBranches(Template template,
Map locations)
throws ParseException
ParseException
public final void bodyState(Template template,
Map locations)
throws ParseException
ParseException
public final void bodyBranch(Template template,
Map locations)
throws ParseException
ParseException
public final void bodyCommitted(Map locations)
throws ParseException
ParseException
public final void bodyUrgent(Map locations)
throws ParseException
ParseException
public final void bodyInit(Template template,
Map locations)
throws ParseException
ParseException
public final void bodyTransitions(Template template,
Map locations)
throws ParseException
ParseException
public final boolean bodyTransitionSymbol()
throws ParseException
ParseException
public final AbstractLocation location(Map locations)
throws ParseException
ParseException
public final void destination(Template template,
Map locations,
AbstractLocation src,
boolean controllable)
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(XTAReaderTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||