|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmris.srcp.parser.SRCPParser
public class SRCPParser
| Nested Class Summary | |
|---|---|
(package private) static class |
SRCPParser.JJCalls
|
| Field Summary | |
|---|---|
(package private) SimpleCharStream |
jj_input_stream
|
Token |
jj_nt
Next token. |
protected JJTSRCPParserState |
jjtree
|
(package private) static org.slf4j.Logger |
log
|
Token |
token
Current token. |
SRCPParserTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface jmri.jmris.srcp.parser.SRCPParserTreeConstants |
|---|
JJTADDRESS, JJTBUS, JJTCHECK, JJTCOMMAND, JJTCOMMENT, JJTCONNECTIONMODE, JJTCV, JJTCVBIT, JJTCVNO, JJTDELAY, JJTDESCRIPTION, JJTDEVICEGROUP, JJTFB, JJTGA, JJTGET, JJTGL, JJTGO, JJTHANDSHAKECOMMAND, JJTINIT, JJTLOCK, jjtNodeName, JJTNONZEROADDRESS, JJTONOFF, JJTPORT, JJTPOWER, JJTPROGMODE, JJTPROTOCOL, JJTREG, JJTRESET, JJTSERVER, JJTSERVICEVERSION, JJTSESSION, JJTSET, JJTSM, JJTTERM, JJTTIME, JJTTIMEOUT, JJTVALUE, JJTVERIFY, JJTWAIT_CMD, JJTZEROADDRESS, JJTZEROONE |
| Fields inherited from interface jmri.jmris.srcp.parser.SRCPParserConstants |
|---|
A, B, C, CHECK, COMMAND, CONNECTIONMODELITTERAL, CV, CVBIT, D, DEFAULT, DELAY, DESCRIPT, DESCRIPTION, DRIVEMODE, E, EOF, EOL, F, FB, G, GA, GET, GL, GM, GO, H, HOUR, I, IN_DESCRIPTION, IN_TIME, INFO, INIT, JMRILIGHT, JMRISENSOR, JMRITURNOUT, JULDATE, K, L, LOCK, M, MINSEC, N, NEWLINE, NMRA, NONZEROADDR, O, OFF, ON, ONOFF, P, POWER, PROTOCOL, PROTOCOLLITTERAL, R, REG, RESET, RETURN, S, SERVER, SESSION, SET, SM, SPACE, SRCP, T, TERM, TIME, tokenImage, V, VERIFY, VERSION, W, WAIT, Y, Z, ZEROADDR |
| Constructor Summary | |
|---|---|
SRCPParser(InputStream stream)
Constructor with InputStream. |
|
SRCPParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
SRCPParser(Reader stream)
Constructor. |
|
SRCPParser(SRCPParserTokenManager tm)
Constructor with generated Token Manager. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JJTSRCPParserState jjtree
static org.slf4j.Logger log
public SRCPParserTokenManager token_source
SimpleCharStream jj_input_stream
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public SRCPParser(InputStream stream)
public SRCPParser(InputStream stream,
String encoding)
public SRCPParser(Reader stream)
public SRCPParser(SRCPParserTokenManager tm)
| Method Detail |
|---|
public final SimpleNode handshakecommand()
throws ParseException
ParseException
public final SimpleNode command()
throws ParseException
ParseException
public final SimpleNode serviceversion()
throws ParseException
ParseException
public final SimpleNode connectionmode()
throws ParseException
ParseException
public final SimpleNode bus()
throws ParseException
ParseException
public final SimpleNode address()
throws ParseException
ParseException
public final SimpleNode value()
throws ParseException
ParseException
public final SimpleNode cvno()
throws ParseException
ParseException
public final SimpleNode zeroaddress()
throws ParseException
ParseException
public final SimpleNode nonzeroaddress()
throws ParseException
ParseException
public final SimpleNode port()
throws ParseException
ParseException
public final SimpleNode devicegroup()
throws ParseException
ParseException
public final SimpleNode go()
throws ParseException
ParseException
public final SimpleNode get()
throws ParseException
ParseException
public final SimpleNode set()
throws ParseException
ParseException
public final SimpleNode term()
throws ParseException
ParseException
public final SimpleNode check()
throws ParseException
ParseException
public final SimpleNode wait_cmd()
throws ParseException
ParseException
public final SimpleNode init()
throws ParseException
ParseException
public final SimpleNode reset()
throws ParseException
ParseException
public final SimpleNode verify()
throws ParseException
ParseException
public final SimpleNode gl()
throws ParseException
ParseException
public final SimpleNode sm()
throws ParseException
ParseException
public final SimpleNode ga()
throws ParseException
ParseException
public final SimpleNode fb()
throws ParseException
ParseException
public final SimpleNode time()
throws ParseException
ParseException
public final SimpleNode power()
throws ParseException
ParseException
public final SimpleNode server()
throws ParseException
ParseException
public final SimpleNode session()
throws ParseException
ParseException
public final SimpleNode lock()
throws ParseException
ParseException
public final SimpleNode description()
throws ParseException
ParseException
public final SimpleNode comment()
throws ParseException
ParseException
public final SimpleNode onoff()
throws ParseException
ParseException
public final SimpleNode zeroone()
throws ParseException
ParseException
public final SimpleNode delay()
throws ParseException
ParseException
public final SimpleNode timeout()
throws ParseException
ParseException
public final SimpleNode progmode()
throws ParseException
ParseException
public final SimpleNode cv()
throws ParseException
ParseException
public final SimpleNode cvbit()
throws ParseException
ParseException
public final SimpleNode reg()
throws ParseException
ParseException
public final SimpleNode protocol()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(SRCPParserTokenManager 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 | |||||||||