net.sf.regulus.interpretation
Class InterpretationParser
java.lang.Object
net.sf.regulus.interpretation.InterpretationParser
- All Implemented Interfaces:
- InterpretationParserConstants
- public class InterpretationParser
- extends java.lang.Object
- implements InterpretationParserConstants
Fields inherited from interface net.sf.regulus.interpretation.InterpretationParserConstants |
COMMA, DEFAULT, EOF, ID, INT, L_BRACKET, NUMBER, R_BRACKET, SEP, SINGLE_QUOTE, tokenImage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public InterpretationParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
InterpretationParser
public InterpretationParser(java.io.InputStream stream)
InterpretationParser
public InterpretationParser(java.io.Reader stream)
InterpretationParser
public InterpretationParser(InterpretationParserTokenManager tm)
main
public static void main(java.lang.String[] args)
throws ParseException,
TokenMgrError
- Throws:
ParseException
TokenMgrError
identifier
public final java.lang.String identifier()
throws ParseException
- Throws:
ParseException
keyValuePair
public final InterpretationParser.KVPair keyValuePair()
throws ParseException
- Throws:
ParseException
keyValuePairList
public final java.util.Hashtable keyValuePairList()
throws ParseException
- Throws:
ParseException
keyValuePairs
public final java.util.Hashtable keyValuePairs()
throws ParseException
- Throws:
ParseException
arrayElement
public final java.lang.Object arrayElement()
throws ParseException
- Throws:
ParseException
arrayElementList
public final java.util.ArrayList arrayElementList()
throws ParseException
- Throws:
ParseException
array
public final java.util.ArrayList array()
throws ParseException
- Throws:
ParseException
createInterpretation
public final java.util.ArrayList createInterpretation()
throws ParseException
- Throws:
ParseException
start
public final void start()
throws ParseException
- Throws:
ParseException
xstart
public final void xstart()
throws ParseException
- Throws:
ParseException
debug
public final void debug(java.lang.String message)
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(InterpretationParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()