byucc.jhdl.Fsm
Class Parser
java.lang.Object
|
+--byucc.jhdl.Fsm.Parser
- All Implemented Interfaces:
- ParserConstants
- public class Parser
- extends java.lang.Object
- implements ParserConstants
| Fields inherited from interface byucc.jhdl.Fsm.ParserConstants |
DEFAULT, DEFAULTTOK, DESCRIPTION, DIGIT, DIGT, ENCBIT, ENCODING, ENCODINGCMD, EOF, INBIT, INPUTCMD, INPUTTERM, IOBIT, IOTERM, LETTER, MULTI_LINE_COMMENT, NUMBER, ONEHOTTOK, OUTPUTCMD, SINGLE_LINE_COMMENT, STATECMD, STATENAME, STATEWIDTH, tokenImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fd
public FsmData fd
token_source
public ParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
Parser
public Parser(java.io.InputStream stream)
Parser
public Parser(java.io.Reader stream)
Parser
public Parser(ParserTokenManager tm)
setVerbose
public boolean setVerbose(boolean flag)
- Sets the verbosity, and returns the prior value of the verbose flag
- Parameters:
flag - The new state of the verbose flag- Returns:
- The prior state of the verbose flag
stackSize
public int stackSize()
stackEmpty
public boolean stackEmpty()
popStack
public java.lang.String popStack()
pushStack
public void pushStack(java.lang.String s)
clearStack
public void clearStack()
fsmFile
public final FsmData fsmFile(java.lang.String fname)
throws ParseException
body
public final void body()
throws ParseException
stateWidth
public final void stateWidth()
throws ParseException
num
public final void num()
throws ParseException
description
public final void description()
throws ParseException
desc
public final void desc()
throws ParseException
iNames
public final void iNames()
throws ParseException
oNames
public final void oNames()
throws ParseException
iName
public final void iName()
throws ParseException
oName
public final void oName()
throws ParseException
productLines4
public final void productLines4()
throws ParseException
productLines2
public final void productLines2()
throws ParseException
combLines
public final void combLines()
throws ParseException
states
public final void states()
throws ParseException
encodings
public final void encodings()
throws ParseException
stNames
public final void stNames()
throws ParseException
stName
public final void stName()
throws ParseException
encs
public final void encs()
throws ParseException
enc
public final void enc()
throws ParseException
productLine4
public final void productLine4()
throws ParseException
productLine2
public final void productLine2()
throws ParseException
combLine
public final void combLine()
throws ParseException
iTerm
public final void iTerm()
throws ParseException
stateName
public final void stateName()
throws ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()