classUtils.javassist.compiler
Class Lex

java.lang.Object
  extended by classUtils.javassist.compiler.Lex
All Implemented Interfaces:
TokenId

public class Lex
extends java.lang.Object
implements TokenId


Field Summary
 
Fields inherited from interface classUtils.javassist.compiler.TokenId
ABSTRACT, AND_E, ANDAND, ARRAY, ARSHIFT, ARSHIFT_E, assignOps, BadToken, BLOCK, BOOLEAN, BREAK, BYTE, CALL, CASE, CATCH, CHAR, CharConstant, CLASS, CONST, CONTINUE, DECL, DEFAULT, DIV_E, DO, DOUBLE, DoubleConstant, ELSE, EQ, EXOR_E, EXPR, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FloatConstant, FOR, GE, GOTO, Identifier, IF, IMPLEMENTS, IMPORT, INSTANCEOF, INT, IntConstant, INTERFACE, LABEL, LE, LONG, LongConstant, LSHIFT, LSHIFT_E, MEMBER, MINUS_E, MINUSMINUS, MOD_E, MUL_E, NATIVE, NEQ, NEW, NULL, opNames, OR_E, OROR, PACKAGE, PLUS_E, PLUSPLUS, PRIVATE, PROTECTED, PUBLIC, RETURN, RSHIFT, RSHIFT_E, SHORT, STATIC, STRICT, StringL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE
 
Constructor Summary
Lex(java.lang.String s)
          Constructs a lexical analyzer.
 
Method Summary
 int get()
           
 double getDouble()
           
 long getLong()
           
 java.lang.String getString()
           
 int lookAhead()
          Looks affineTransform the next token.
 int lookAhead(int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lex

public Lex(java.lang.String s)
Constructs a lexical analyzer.

Method Detail

get

public int get()

lookAhead

public int lookAhead()
Looks affineTransform the next token.


lookAhead

public int lookAhead(int i)

getString

public java.lang.String getString()

getLong

public long getLong()

getDouble

public double getDouble()