| Modifier and Type | Class and Description |
|---|---|
static class |
EventDispatcherNode.Type |
EXCEPTION_REG, FIRST_ORDINARY_REG, NO_VALUE, RETURN_REG| Constructor and Description |
|---|
EventDispatcherNode(EventDispatcherNode.Type type,
SourceLocation location)
Constructs a new event dispatcher node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canThrowExceptions()
Returns true if this node may throw exceptions.
|
void |
check(BasicBlock b)
Perform a consistency check of this node.
|
int |
getResultRegister()
Returns the result register.
|
EventDispatcherNode.Type |
getType()
Returns the event type.
|
boolean |
isConstructorCall()
Checks whether this is a constructor call or an ordinary call.
|
String |
toString()
Returns a string description of this node.
|
<ArgType> void |
visitBy(NodeVisitor<ArgType> v,
ArgType a)
Visits this node with the given visitor.
|
getBlock, getDuplicateOf, getIndex, getSourceLocation, isArtificial, isDead, isRegistersDone, setArtificial, setBlock, setDead, setDuplicateOf, setIndex, setRegistersDonepublic EventDispatcherNode(EventDispatcherNode.Type type, SourceLocation location)
public boolean canThrowExceptions()
AbstractNodecanThrowExceptions in class AbstractNodepublic void check(BasicBlock b)
AbstractNodecheck in class AbstractNodeb - basic block containing this nodepublic int getResultRegister()
ICallNodegetResultRegister in interface ICallNodepublic EventDispatcherNode.Type getType()
public boolean isConstructorCall()
ICallNodeisConstructorCall in interface ICallNodepublic String toString()
AbstractNodetoString in class AbstractNodepublic <ArgType> void visitBy(NodeVisitor<ArgType> v, ArgType a)
NodeCopyright © 2012 Aarhus University