de.uniba.wiai.lspi.util.console.parser
Class CommandParser
java.lang.Object
de.uniba.wiai.lspi.util.console.parser.CommandParser
- All Implemented Interfaces:
- CommandParserConstants
public class CommandParser
- extends java.lang.Object
- implements CommandParserConstants
- Version:
- 1.0.5
- Author:
- sven
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public CommandParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
CommandParser
public CommandParser(java.io.InputStream stream)
CommandParser
public CommandParser(java.io.Reader stream)
CommandParser
public CommandParser(CommandParserTokenManager tm)
parse
public static java.lang.String parse(java.lang.String toParse)
throws ParseException
- Throws:
ParseException
parseParams
public static java.util.Map<java.lang.String,java.lang.String> parseParams(java.lang.String toParse)
throws ParseException
- Throws:
ParseException
command
public final java.lang.String command()
throws ParseException
- Throws:
ParseException
parameters
public final java.util.Map<java.lang.String,java.lang.String> parameters()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(CommandParserTokenManager 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()