de.uniba.wiai.lspi.util.console.parser
Class CommandParserTokenManager

java.lang.Object
  extended by de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
All Implemented Interfaces:
CommandParserConstants

public class CommandParserTokenManager
extends java.lang.Object
implements CommandParserConstants

Author:
sven

Field Summary
 java.io.PrintStream debugStream
           
 
Fields inherited from interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
DEFAULT, EOF, LETTER, PARAMSTART, tokenImage, WORD
 
Constructor Summary
CommandParserTokenManager(SimpleCharStream stream)
           
CommandParserTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
 void setDebugStream(java.io.PrintStream ds)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public java.io.PrintStream debugStream
Constructor Detail

CommandParserTokenManager

public CommandParserTokenManager(SimpleCharStream stream)

CommandParserTokenManager

public CommandParserTokenManager(SimpleCharStream stream,
                                 int lexState)
Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)
Parameters:
ds - The debugStream to set.

ReInit

public void ReInit(SimpleCharStream stream)

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

getNextToken

public Token getNextToken()