|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttree.Exp
tree.BINOP
public class BINOP
Expressão cujo resultado é obtido de uma operação binária.
Field Summary | |
---|---|
static int |
AND
Operação de "e lógico" |
static int |
ARSHIFT
Operação de "shift para a direita (sinalizado)" |
static int |
DIV
Operação de divisão |
static int |
LSHIFT
Operação de "shift para a esquerda" |
static int |
MINUS
Operação de subtração |
static int |
OR
Operação de "ou lógico" |
static int |
PLUS
Operação de adição |
static int |
RSHIFT
Operação de "shift para a direita" |
static int |
TIMES
Operação de multiplicação |
static int |
XOR
Operação de "ou exclusivo lógico" |
Constructor Summary | |
---|---|
BINOP(int b,
Exp l,
Exp r)
|
Method Summary | |
---|---|
Exp |
build(List<Exp> kids)
|
Exp |
getLeft()
|
int |
getOperation()
|
Exp |
getRight()
|
List<Exp> |
kids()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PLUS
public static final int MINUS
public static final int TIMES
public static final int DIV
public static final int AND
public static final int OR
public static final int LSHIFT
public static final int RSHIFT
public static final int ARSHIFT
public static final int XOR
Constructor Detail |
---|
public BINOP(int b, Exp l, Exp r)
Method Detail |
---|
public List<Exp> kids()
kids
in class Exp
public Exp build(List<Exp> kids)
build
in class Exp
public int getOperation()
public Exp getLeft()
public Exp getRight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |