gnu.ecmascript

Class Reserved

public class Reserved extends Object

Field Summary
static intBREAK_TOKEN
static intCONTINUE_TOKEN
static intELSE_TOKEN
static intFOR_TOKEN
static intFUNCTION_TOKEN
static intIF_TOKEN
static intLESS_OP
static intLSHIFT_OP
static intMINUS_OP
static intNEW_TOKEN
static intPLUS_OP
static intRETURN_TOKEN
static intTHIS_TOKEN
static intTIMES_OP
static intVAR_TOKEN
static intWHILE_TOKEN
static intWITH_TOKEN
Constructor Summary
Reserved(String name, int prio, Procedure proc)
Reserved(String name, int prio)
Reserved(String name, int prio, int op)
Method Summary
booleanisAssignmentOp()
StringtoString()

Field Detail

BREAK_TOKEN

public static final int BREAK_TOKEN

CONTINUE_TOKEN

public static final int CONTINUE_TOKEN

ELSE_TOKEN

public static final int ELSE_TOKEN

FOR_TOKEN

public static final int FOR_TOKEN

FUNCTION_TOKEN

public static final int FUNCTION_TOKEN

IF_TOKEN

public static final int IF_TOKEN

LESS_OP

public static final int LESS_OP

LSHIFT_OP

public static final int LSHIFT_OP

MINUS_OP

public static final int MINUS_OP

NEW_TOKEN

public static final int NEW_TOKEN

PLUS_OP

public static final int PLUS_OP

RETURN_TOKEN

public static final int RETURN_TOKEN

THIS_TOKEN

public static final int THIS_TOKEN

TIMES_OP

public static final int TIMES_OP

VAR_TOKEN

public static final int VAR_TOKEN

WHILE_TOKEN

public static final int WHILE_TOKEN

WITH_TOKEN

public static final int WITH_TOKEN

Constructor Detail

Reserved

public Reserved(String name, int prio, Procedure proc)

Reserved

public Reserved(String name, int prio)

Reserved

public Reserved(String name, int prio, int op)

Method Detail

isAssignmentOp

public boolean isAssignmentOp()

toString

public String toString()