|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.srcp.parser.SRCPClientParser
public class SRCPClientParser
| Nested Class Summary | |
|---|---|
(package private) static class |
SRCPClientParser.JJCalls
|
| Field Summary | |
|---|---|
(package private) SimpleCharStream |
jj_input_stream
|
Token |
jj_nt
Next token. |
protected JJTSRCPClientParserState |
jjtree
|
(package private) static org.slf4j.Logger |
log
|
Token |
token
Current token. |
SRCPClientParserTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface jmri.jmrix.srcp.parser.SRCPClientParserTreeConstants |
|---|
JJTADDRESS, JJTBUS, JJTCHECK, JJTCOMMAND, JJTCOMMANDRESPONSE, JJTCOMMENT, JJTCONNECTIONMODE, JJTCV, JJTCVBIT, JJTCVNO, JJTDELAY, JJTDESCRIPTION, JJTDEVICEGROUP, JJTFB, JJTGA, JJTGET, JJTGL, JJTGO, JJTHANDSHAKERESPONSE, JJTINFORESPONSE, JJTINIT, JJTLOCK, jjtNodeName, JJTNONZEROADDRESS, JJTONOFF, JJTPORT, JJTPOWER, JJTPROGMODE, JJTREG, JJTRESET, JJTSERVER, JJTSERVICEVERSION, JJTSESSION, JJTSET, JJTSM, JJTTERM, JJTTIME, JJTTIMEOUT, JJTVERIFY, JJTWAIT_CMD, JJTZEROADDRESS, JJTZEROONE |
| Fields inherited from interface jmri.jmrix.srcp.parser.SRCPClientParserConstants |
|---|
A, B, C, CHECK, COMMAND, CONNECTIONMODELITTERAL, CV, CVBIT, D, DEFAULT, DELAY, DESCRIPTION, DRIVEMODE, E, EOF, EOL, ERROR, ERRORCODE, F, FB, G, GA, GET, GL, GM, GO, H, HOUR, I, IN_REASON, INFO, INIT, JMRILIGHT, JMRISENSOR, JMRITURNOUT, JULDATE, K, L, LOCK, M, MINSEC, N, NEWLINE, NONZEROADDR, O, OFF, OK, ON, ONOFF, P, POWER, PROTOCOL, PROTOCOLLITTERAL, R, REASON, REG, RESET, RETURN, S, SERVER, SESSION, SET, SM, SPACE, SRCP, T, TERM, TIME, tokenImage, V, VERIFY, VERSION, W, WAIT, Y, Z, ZEROADDR |
| Constructor Summary | |
|---|---|
SRCPClientParser(InputStream stream)
Constructor with InputStream. |
|
SRCPClientParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
SRCPClientParser(Reader stream)
Constructor. |
|
SRCPClientParser(SRCPClientParserTokenManager 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 JJTSRCPClientParserState jjtree
static org.slf4j.Logger log
public SRCPClientParserTokenManager token_source
SimpleCharStream jj_input_stream
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public SRCPClientParser(InputStream stream)
public SRCPClientParser(InputStream stream,
String encoding)
public SRCPClientParser(Reader stream)
public SRCPClientParser(SRCPClientParserTokenManager tm)
| Method Detail |
|---|
public final SimpleNode command()
throws ParseException
ParseException
public final SimpleNode handshakeresponse()
throws ParseException
ParseException
public final SimpleNode serviceversion()
throws ParseException
ParseException
public final SimpleNode connectionmode()
throws ParseException
ParseException
public final SimpleNode inforesponse()
throws ParseException
ParseException
public final SimpleNode commandresponse()
throws ParseException
ParseException
public final SimpleNode cvno()
throws ParseException
ParseException
public final SimpleNode bus()
throws ParseException
ParseException
public final SimpleNode address()
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
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(SRCPClientParserTokenManager 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 | |||||||||