org.owasp.orizon.tornado.parser
Class TornadoLexer

java.lang.Object
  extended by org.owasp.orizon.tornado.parser.TornadoLexer
All Implemented Interfaces:
TornadoConstants

public class TornadoLexer
extends java.lang.Object
implements TornadoConstants

Token Manager


Field Summary
 
Fields inherited from interface org.owasp.orizon.tornado.parser.TornadoConstants
COMMAND, COUNT, COUNTCOMMAND, DEFAULT, EOF, FILENAME, JAR, JARCOMMAND, LIST, LISTCOMMAND, LOAD, LOADCOMMAND, NL, nodeNames, QUIT, QUITCOMMAND, RUN, RUNALL, RUNALLCOMMAND, RUNCOMMAND, tokenImage
 
Constructor Summary
TornadoLexer(JavaCharStream stream)
          Constructor.
TornadoLexer(JavaCharStream stream, int lexState)
          Constructor.
 
Method Summary
 java.lang.String getInputSource()
           
 Token getNextToken()
          Get the next Token.
 void setDebugStream(java.io.PrintStream ds)
          Set debug output.
 void setInputSource(java.lang.String inputSource)
           
 void SwitchTo(int lexState)
          Switch to specified lex state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TornadoLexer

public TornadoLexer(JavaCharStream stream)
Constructor.


TornadoLexer

public TornadoLexer(JavaCharStream stream,
                    int lexState)
Constructor.

Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)
Set debug output.


getInputSource

public java.lang.String getInputSource()

setInputSource

public void setInputSource(java.lang.String inputSource)

SwitchTo

public void SwitchTo(int lexState)
Switch to specified lex state.


getNextToken

public Token getNextToken()
Get the next Token.