public static class FunctionCalls.EventHandlerCall extends java.lang.Object implements FunctionCalls.CallInfo
| Constructor and Description |
|---|
EventHandlerCall(AbstractNode sourceNode,
Value function,
java.util.List<Value> args,
java.util.Set<ObjectLabel> thisTargets,
State state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assumeFunction()
Assumes that a function is called.
|
Value |
getArg(int i)
Returns the value of the i'th argument.
|
ExecutionContext |
getExecutionContext()
Returns the execution context.
|
Value |
getFunctionValue()
Returns the abstract value describing which function to call.
|
AbstractNode |
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 |
getThis()
Returns the value of 'this'.
|
Value |
getUnknownArg()
Returns the value of an unknown argument.
|
boolean |
isConstructorCall()
Checks whether this is a constructor call or an ordinary call.
|
boolean |
isUnknownNumberOfArgs()
Returns true if the number of arguments is unknown.
|
public EventHandlerCall(AbstractNode sourceNode, Value function, java.util.List<Value> args, java.util.Set<ObjectLabel> thisTargets, State state)
public boolean assumeFunction()
FunctionCalls.CallInfoassumeFunction in interface FunctionCalls.CallInfopublic Value getArg(int i)
FunctionCalls.CallInfogetArg in interface FunctionCalls.CallInfoFunctionCalls.CallInfo.getUnknownArg()public ExecutionContext getExecutionContext()
FunctionCalls.CallInfogetExecutionContext in interface FunctionCalls.CallInfopublic Value getFunctionValue()
FunctionCalls.CallInfogetFunctionValue in interface FunctionCalls.CallInfopublic AbstractNode 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 getThis()
FunctionCalls.CallInfogetThis 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.CallInfoCopyright © 2009-2019 Aarhus University