All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lib.Types

java.lang.Object
   |
   +----lib.Types

public class Types
extends Object
In this class, all node types used by class Node are listed. It provides a method to convert the integral type to a String.


Variable Index

 o T_AND
 o T_ASSIGN
 o T_BREAK
 o T_CALL
 o T_CASE
 o T_CLASS
 o T_CLASSBODY
 o T_CONSTANT
 o T_DEFAULT
 o T_DIMENSION
 o T_DIV
 o T_DOWHILE
 o T_DUMMY
 o T_EQ
 o T_FOR
 o T_GEQ
 o T_GRE
 o T_IF
 o T_INT
 o T_LEQ
 o T_LESS
 o T_LIST
 o T_LOAD
 o T_LOCAL
 o T_METHBODY
 o T_METHCALL
 o T_METHDEC
 o T_MINUS
 o T_MOD
 o T_MUL
 o T_NEQ
 o T_NEW
 o T_NOT
 o T_NULL
 o T_OR
 o T_PLUS
 o T_RETURN
 o T_STATIC
 o T_STORE
 o T_STRING
 o T_SWITCH
 o T_THIS
 o T_UMINUS
 o T_VAR
 o T_VARDEC
 o T_VARSPEC
 o T_VIRTUAL
 o T_VOID
 o T_WHILE

Constructor Index

 o Types()

Method Index

 o toString(int)
This method can be used to convert the type of a Node object, which is an int, to a String.

Variables

 o T_DUMMY
 public static final int T_DUMMY
 o T_CLASS
 public static final int T_CLASS
 o T_CLASSBODY
 public static final int T_CLASSBODY
 o T_STRING
 public static final int T_STRING
 o T_LIST
 public static final int T_LIST
 o T_VARDEC
 public static final int T_VARDEC
 o T_METHDEC
 public static final int T_METHDEC
 o T_VOID
 public static final int T_VOID
 o T_INT
 public static final int T_INT
 o T_VARSPEC
 public static final int T_VARSPEC
 o T_ASSIGN
 public static final int T_ASSIGN
 o T_DOWHILE
 public static final int T_DOWHILE
 o T_CALL
 public static final int T_CALL
 o T_RETURN
 public static final int T_RETURN
 o T_BREAK
 public static final int T_BREAK
 o T_METHBODY
 public static final int T_METHBODY
 o T_THIS
 public static final int T_THIS
 o T_NEW
 public static final int T_NEW
 o T_IF
 public static final int T_IF
 o T_WHILE
 public static final int T_WHILE
 o T_FOR
 public static final int T_FOR
 o T_SWITCH
 public static final int T_SWITCH
 o T_CASE
 public static final int T_CASE
 o T_CONSTANT
 public static final int T_CONSTANT
 o T_METHCALL
 public static final int T_METHCALL
 o T_VAR
 public static final int T_VAR
 o T_DIMENSION
 public static final int T_DIMENSION
 o T_UMINUS
 public static final int T_UMINUS
 o T_NOT
 public static final int T_NOT
 o T_PLUS
 public static final int T_PLUS
 o T_MINUS
 public static final int T_MINUS
 o T_MUL
 public static final int T_MUL
 o T_DIV
 public static final int T_DIV
 o T_MOD
 public static final int T_MOD
 o T_EQ
 public static final int T_EQ
 o T_NEQ
 public static final int T_NEQ
 o T_LESS
 public static final int T_LESS
 o T_LEQ
 public static final int T_LEQ
 o T_GRE
 public static final int T_GRE
 o T_GEQ
 public static final int T_GEQ
 o T_AND
 public static final int T_AND
 o T_OR
 public static final int T_OR
 o T_STATIC
 public static final int T_STATIC
 o T_VIRTUAL
 public static final int T_VIRTUAL
 o T_LOCAL
 public static final int T_LOCAL
 o T_NULL
 public static final int T_NULL
 o T_DEFAULT
 public static final int T_DEFAULT
 o T_STORE
 public static final int T_STORE
 o T_LOAD
 public static final int T_LOAD

Constructors

 o Types
 public Types()

Methods

 o toString
 public static String toString(int type)
This method can be used to convert the type of a Node object, which is an int, to a String.


All Packages  Class Hierarchy  This Package  Previous  Next  Index