harpoon.IR.Tree
Class TreeKind
java.lang.Object
harpoon.IR.Tree.TreeKind
public abstract class TreeKind
- extends Object
TreeKind
is an enumerated type for the various kinds of
Tree
s. Largely copied from Scott's QuadKind
class.
- Version:
- $Id: TreeKind.java,v 1.3 2003/04/11 00:30:08 cananian Exp $
- Author:
- Duncan Bryce <duncan@lcs.mit.edu>
Method Summary |
static boolean |
isValid(int k)
|
static int |
max()
|
static int |
min()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIGN
public static final int ALIGN
- See Also:
- Constant Field Values
BINOP
public static final int BINOP
- See Also:
- Constant Field Values
CALL
public static final int CALL
- See Also:
- Constant Field Values
CJUMP
public static final int CJUMP
- See Also:
- Constant Field Values
CONST
public static final int CONST
- See Also:
- Constant Field Values
DATUM
public static final int DATUM
- See Also:
- Constant Field Values
ESEQ
public static final int ESEQ
- See Also:
- Constant Field Values
EXPR
public static final int EXPR
- See Also:
- Constant Field Values
JUMP
public static final int JUMP
- See Also:
- Constant Field Values
LABEL
public static final int LABEL
- See Also:
- Constant Field Values
MEM
public static final int MEM
- See Also:
- Constant Field Values
METHOD
public static final int METHOD
- See Also:
- Constant Field Values
MOVE
public static final int MOVE
- See Also:
- Constant Field Values
NAME
public static final int NAME
- See Also:
- Constant Field Values
NATIVECALL
public static final int NATIVECALL
- See Also:
- Constant Field Values
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
SEGMENT
public static final int SEGMENT
- See Also:
- Constant Field Values
SEQ
public static final int SEQ
- See Also:
- Constant Field Values
TEMP
public static final int TEMP
- See Also:
- Constant Field Values
THROW
public static final int THROW
- See Also:
- Constant Field Values
UNOP
public static final int UNOP
- See Also:
- Constant Field Values
TreeKind
public TreeKind()
min
public static int min()
max
public static int max()
isValid
public static boolean isValid(int k)