gnu.ecmascript
Class Reserved

java.lang.Object
  extended by gnu.ecmascript.Reserved

public class Reserved
extends java.lang.Object


Field Summary
static int BREAK_TOKEN
           
static int CONTINUE_TOKEN
           
static int ELSE_TOKEN
           
static int FOR_TOKEN
           
static int FUNCTION_TOKEN
           
static int IF_TOKEN
           
static int LESS_OP
           
static int LSHIFT_OP
           
static int MINUS_OP
           
static int NEW_TOKEN
           
static int PLUS_OP
           
static int RETURN_TOKEN
           
static int THIS_TOKEN
           
static int TIMES_OP
           
static int VAR_TOKEN
           
static int WHILE_TOKEN
           
static int WITH_TOKEN
           
 
Constructor Summary
Reserved(java.lang.String name, int prio)
           
Reserved(java.lang.String name, int prio, int op)
           
Reserved(java.lang.String name, int prio, Procedure proc)
           
 
Method Summary
 boolean isAssignmentOp()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VAR_TOKEN

public static final int VAR_TOKEN
See Also:
Constant Field Values

IF_TOKEN

public static final int IF_TOKEN
See Also:
Constant Field Values

WHILE_TOKEN

public static final int WHILE_TOKEN
See Also:
Constant Field Values

FOR_TOKEN

public static final int FOR_TOKEN
See Also:
Constant Field Values

CONTINUE_TOKEN

public static final int CONTINUE_TOKEN
See Also:
Constant Field Values

BREAK_TOKEN

public static final int BREAK_TOKEN
See Also:
Constant Field Values

RETURN_TOKEN

public static final int RETURN_TOKEN
See Also:
Constant Field Values

WITH_TOKEN

public static final int WITH_TOKEN
See Also:
Constant Field Values

ELSE_TOKEN

public static final int ELSE_TOKEN
See Also:
Constant Field Values

NEW_TOKEN

public static final int NEW_TOKEN
See Also:
Constant Field Values

THIS_TOKEN

public static final int THIS_TOKEN
See Also:
Constant Field Values

FUNCTION_TOKEN

public static final int FUNCTION_TOKEN
See Also:
Constant Field Values

PLUS_OP

public static final int PLUS_OP
See Also:
Constant Field Values

MINUS_OP

public static final int MINUS_OP
See Also:
Constant Field Values

TIMES_OP

public static final int TIMES_OP
See Also:
Constant Field Values

LSHIFT_OP

public static final int LSHIFT_OP
See Also:
Constant Field Values

LESS_OP

public static final int LESS_OP
See Also:
Constant Field Values
Constructor Detail

Reserved

public Reserved(java.lang.String name,
                int prio,
                Procedure proc)

Reserved

public Reserved(java.lang.String name,
                int prio)

Reserved

public Reserved(java.lang.String name,
                int prio,
                int op)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isAssignmentOp

public boolean isAssignmentOp()