public static class FunctionCalls.OrdinaryCallInfo extends java.lang.Object implements FunctionCalls.CallInfo
| Constructor and Description |
|---|
OrdinaryCallInfo(CallNode n,
GenericSolver.SolverInterface c) |
| 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.
|
CallNode |
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.
|
CallNode |
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 OrdinaryCallInfo(CallNode n, GenericSolver.SolverInterface c)
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 CallNode 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 CallNode 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