|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttree.Stm
tree.CJUMP
public class CJUMP
Esta classe representa saltos condicional. Verificar as constantes da classe para definir quais operadores poderão ser utilizados. Esse nó possui 5 filhos:
Field Summary | |
---|---|
static int |
EQ
Comparação de igualdade |
static int |
GE
Comparação "maior ou igual a |
static int |
GT
Comparação "maior que" |
static int |
LE
Comparação "menor ou igual a" |
static int |
LT
Comparação "menor que" |
static int |
NE
Comparação de desigualdade |
static int |
UGE
Comparação "maior ou igual a (unsigned)" |
static int |
UGT
Comparação "maior que (unsigned)" |
static int |
ULE
Comparação "menor ou igual a (unsigned)" |
static int |
ULT
Comparação "menor que (unsigned)" |
Constructor Summary | |
---|---|
CJUMP(int o,
Exp l,
Exp r,
temp.Label t,
temp.Label f)
|
Method Summary | |
---|---|
Stm |
build(List<Exp> kids)
|
temp.Label |
getLabelFalse()
|
temp.Label |
getLabelTrue()
|
Exp |
getLeft()
|
int |
getOperation()
|
Exp |
getRight()
|
List<Exp> |
kids()
|
static int |
notRel(int relop)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EQ
public static final int NE
public static final int LT
public static final int LE
public static final int GT
public static final int GE
public static final int ULT
public static final int ULE
public static final int UGT
public static final int UGE
Constructor Detail |
---|
public CJUMP(int o, Exp l, Exp r, temp.Label t, temp.Label f)
Method Detail |
---|
public int getOperation()
public Exp getLeft()
public Exp getRight()
public temp.Label getLabelTrue()
public temp.Label getLabelFalse()
public static int notRel(int relop)
public List<Exp> kids()
kids
in class Stm
public Stm build(List<Exp> kids)
build
in class Stm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |