public class Reserved
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAssignmentOp() |
java.lang.String |
toString() |
public static final int VAR_TOKEN
public static final int IF_TOKEN
public static final int WHILE_TOKEN
public static final int FOR_TOKEN
public static final int CONTINUE_TOKEN
public static final int BREAK_TOKEN
public static final int RETURN_TOKEN
public static final int WITH_TOKEN
public static final int ELSE_TOKEN
public static final int NEW_TOKEN
public static final int THIS_TOKEN
public static final int FUNCTION_TOKEN
public static final int PLUS_OP
public static final int MINUS_OP
public static final int TIMES_OP
public static final int LSHIFT_OP
public static final int LESS_OP
public Reserved(java.lang.String name, int prio, Procedure proc)
public Reserved(java.lang.String name, int prio)
public Reserved(java.lang.String name, int prio, int op)