|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectProjetCompil.Global.Src3.Inst
public class Inst
Classe des instructions de la machine abstraite.
Method Summary | |
---|---|
static Inst |
creation0(Operation operation)
Constructeur d'instruction dont l'opération est d'arité 0. |
static Inst |
creation1(Operation operation,
Operande op1)
Constructeur d'instruction dont l'opération est d'arité 1. |
static Inst |
creation2(Operation operation,
Operande op1,
Operande op2)
Constructeur d'instruction dont l'opération est d'arité 2. |
Operande |
getOperande1()
Le premier opérande de cette instruction. |
Operande |
getOperande2()
Le deuxième opérande de cette instruction. |
Operation |
getOperation()
L'opération de cette instruction. |
void |
setOperande1(Operande op1)
Modifie le premier opérande de cette instruction. |
void |
setOperande2(Operande op2)
Modifie le deuxième opérande de cette instruction. |
java.lang.String |
toString()
Chaîne de caractères correspondant à cette instruction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Inst creation0(Operation operation)
public static Inst creation1(Operation operation, Operande op1)
public static Inst creation2(Operation operation, Operande op1, Operande op2)
public Operation getOperation()
public Operande getOperande1()
public Operande getOperande2()
public void setOperande1(Operande op1)
public void setOperande2(Operande op2)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |