org.fraid.interpreter
Class FraidTokenManager

java.lang.Object
  extended by org.fraid.interpreter.FraidTokenManager
All Implemented Interfaces:
FraidConstants

public class FraidTokenManager
extends java.lang.Object
implements FraidConstants


Field Summary
protected  char curChar
           
 java.io.PrintStream debugStream
           
protected  SimpleCharStream input_stream
           
static java.lang.String[] jjstrLiteralImages
           
static java.lang.String[] lexStateNames
           
 
Fields inherited from interface org.fraid.interpreter.FraidConstants
AND, ASSIGN, CLOSE_META, CLOSE_PAR, COMMA, DEFAULT, DIGITS, DIVIDE, ELSE, EOF, EOL, EQUAL, GREATER, GREATER_OR_EQ, ID, IF, IMAGINARY_NUMBER, IMAGINARY_ONE, INT_DIVIDE, MINUS, NOT, NOT_EQUAL, NUMBER, OPEN_META, OPEN_PAR, OR, PLUS, POWER, SIMPLE_NUMBER, SMALLER, SMALLER_OR_EQ, STRING, THEN, TIMES, tokenImage, XOR
 
Constructor Summary
FraidTokenManager(SimpleCharStream stream)
           
FraidTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
protected  Token jjFillToken()
           
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public java.io.PrintStream debugStream

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages

lexStateNames

public static final java.lang.String[] lexStateNames

input_stream

protected SimpleCharStream input_stream

curChar

protected char curChar
Constructor Detail

FraidTokenManager

public FraidTokenManager(SimpleCharStream stream)

FraidTokenManager

public FraidTokenManager(SimpleCharStream stream,
                         int lexState)
Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)

ReInit

public void ReInit(SimpleCharStream stream)

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.