@NotStorableClass public class OpcodeNode extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
opcode |
protected static OpcodeInterpreter |
OPCODE_INTERPRETER |
Constructor and Description |
---|
OpcodeNode()
construct a null opcode node
|
OpcodeNode(int opcode,
int address,
int lineNumber,
OpcodeNode previousOpcode) |
Modifier and Type | Method and Description |
---|---|
void |
addNext(OpcodeNode next) |
int |
getAddress() |
StackElement |
getAfterExecutionStackElement() |
StackElement |
getBeforeExecutionStackElement() |
Label |
getLabel() |
String |
getLabeledAddress() |
int |
getLineNumber() |
List<OpcodeNode> |
getNextOpcodeNodeList() |
StackElement |
interprete() |
protected StackElement |
interprete(StackElement currentStackElement) |
boolean |
isDirectAccess() |
boolean |
isOwnedMethodCallOfOtherInstance() |
protected String |
mnemonic() |
void |
setBeforeExecutionStackElement(StackElement beforeExecutionStackElement) |
void |
setLabel(Label label) |
String |
toString() |
protected static final OpcodeInterpreter OPCODE_INTERPRETER
protected final int opcode
public OpcodeNode()
public OpcodeNode(int opcode, int address, int lineNumber, OpcodeNode previousOpcode)
public String getLabeledAddress()
public int getAddress()
public Label getLabel()
public void setLabel(Label label)
public void setBeforeExecutionStackElement(StackElement beforeExecutionStackElement)
public StackElement getBeforeExecutionStackElement()
public StackElement getAfterExecutionStackElement()
public void addNext(OpcodeNode next)
public List<OpcodeNode> getNextOpcodeNodeList()
public StackElement interprete() throws EnhanceException
EnhanceException
protected StackElement interprete(StackElement currentStackElement) throws EnhanceException
EnhanceException
public boolean isDirectAccess()
public int getLineNumber()
protected String mnemonic()
public boolean isOwnedMethodCallOfOtherInstance()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.