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 Object
- implements CommandParserConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, 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(InputStream stream)
CommandParser
public CommandParser(Reader stream)
CommandParser
public CommandParser(CommandParserTokenManager tm)
parse
public static String parse(String toParse)
throws ParseException
- Throws:
ParseException
parseParams
public static Map<String,String> parseParams(String toParse)
throws ParseException
- Throws:
ParseException
command
public final String command()
throws ParseException
- Throws:
ParseException
parameters
public final Map<String,String> parameters()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(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()
Copyright © 2004-2008 Karsten Loesing, Sven Kaffille - Distributed and Mobile Systems Group, Lehrstuhl für Praktische Informatik, Universität Bamberg. All Rights Reserved.