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.CallInfo
assumeFunction
in interface FunctionCalls.CallInfo
public Value getArg(int i)
FunctionCalls.CallInfo
getArg
in interface FunctionCalls.CallInfo
FunctionCalls.CallInfo.getUnknownArg()
public ExecutionContext getExecutionContext()
FunctionCalls.CallInfo
getExecutionContext
in interface FunctionCalls.CallInfo
public Value getFunctionValue()
FunctionCalls.CallInfo
getFunctionValue
in interface FunctionCalls.CallInfo
public AbstractNode getJSSourceNode()
FunctionCalls.CallInfo
getJSSourceNode
in interface FunctionCalls.CallInfo
public int getNumberOfArgs()
FunctionCalls.CallInfo
getNumberOfArgs
in interface FunctionCalls.CallInfo
FunctionCalls.CallInfo.isUnknownNumberOfArgs()
public int getResultRegister()
FunctionCalls.CallInfo
getResultRegister
in interface FunctionCalls.CallInfo
public AbstractNode getSourceNode()
FunctionCalls.CallInfo
getSourceNode
in interface FunctionCalls.CallInfo
public Value getThis()
FunctionCalls.CallInfo
getThis
in interface FunctionCalls.CallInfo
public Value getUnknownArg()
FunctionCalls.CallInfo
getUnknownArg
in interface FunctionCalls.CallInfo
public boolean isConstructorCall()
FunctionCalls.CallInfo
isConstructorCall
in interface FunctionCalls.CallInfo
public boolean isUnknownNumberOfArgs()
FunctionCalls.CallInfo
isUnknownNumberOfArgs
in interface FunctionCalls.CallInfo
Copyright © 2009-2019 Aarhus University