public static class FunctionCalls.EventHandlerCall extends Object implements FunctionCalls.CallInfo
| Constructor and Description |
|---|
FunctionCalls.EventHandlerCall(Node sourceNode,
Value function,
Value arg1) |
| Modifier and Type | Method and Description |
|---|---|
Value |
getArg(int i)
Returns the value of the i'th argument.
|
int |
getBaseRegister()
Returns the base register.
|
Value |
getFunctionValue()
Returns the abstract value describing which function to call.
|
Node |
getJSSourceNode()
Returns the node in the JavaScript code where this call originates from.
|
int |
getNumberOfArgs()
Returns the number of arguments.
|
int |
getResultRegister()
Returns the result register.
|
AbstractNode |
getSourceNode()
Returns the node where the call originates from.
|
Value |
getUnknownArg()
Returns the value of an unknown argument.
|
boolean |
isConstructorCall()
Checks whether this is a construct or an ordinary call.
|
boolean |
isUnknownNumberOfArgs()
Returns true if the number of arguments is unknown.
|
Set<ObjectLabel> |
prepareThis(State caller_state,
State callee_state)
Creates the object value of 'this'.
|
public Value getArg(int i)
FunctionCalls.CallInfogetArg in interface FunctionCalls.CallInfoFunctionCalls.CallInfo.getUnknownArg()public int getBaseRegister()
FunctionCalls.CallInfogetBaseRegister in interface FunctionCalls.CallInfopublic Value getFunctionValue()
FunctionCalls.CallInfogetFunctionValue in interface FunctionCalls.CallInfopublic Node getJSSourceNode()
FunctionCalls.CallInfogetJSSourceNode in interface FunctionCalls.CallInfopublic int getNumberOfArgs()
FunctionCalls.CallInfogetNumberOfArgs in interface FunctionCalls.CallInfoFunctionCalls.CallInfo.isUnknownNumberOfArgs()public int getResultRegister()
FunctionCalls.CallInfogetResultRegister in interface FunctionCalls.CallInfopublic AbstractNode getSourceNode()
FunctionCalls.CallInfogetSourceNode in interface FunctionCalls.CallInfopublic Value getUnknownArg()
FunctionCalls.CallInfogetUnknownArg in interface FunctionCalls.CallInfopublic boolean isConstructorCall()
FunctionCalls.CallInfoisConstructorCall in interface FunctionCalls.CallInfopublic boolean isUnknownNumberOfArgs()
FunctionCalls.CallInfoisUnknownNumberOfArgs in interface FunctionCalls.CallInfopublic Set<ObjectLabel> prepareThis(State caller_state, State callee_state)
FunctionCalls.CallInfoprepareThis in interface FunctionCalls.CallInfoCopyright © 2012 Aarhus University