public class UserFunctionCalls extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
declareFunction(DeclareFunctionNode n,
State state)
Declares a function.
|
static Set<ObjectLabel> |
determineThis(AbstractNode n,
State caller_state,
State callee_state,
GenericSolver.SolverInterface c,
boolean is_constructor_call,
int base_reg)
Determines the value of 'this' when entering a function (other than call/apply and other than constructor call to host function).
|
static void |
enterUserFunction(ObjectLabel obj_f,
FunctionCalls.CallInfo call,
State caller_state,
GenericSolver.SolverInterface c)
Enters a user-defined function.
|
static void |
leaveUserFunction(Value returnval,
boolean exceptional,
Function f,
State state,
GenericSolver.SolverInterface c,
NodeAndContext<CallContext> specific_caller)
Leaves a user-defined function.
|
public static void declareFunction(DeclareFunctionNode n, State state)
public static Set<ObjectLabel> determineThis(AbstractNode n, State caller_state, State callee_state, GenericSolver.SolverInterface c, boolean is_constructor_call, int base_reg)
public static void enterUserFunction(ObjectLabel obj_f, FunctionCalls.CallInfo call, State caller_state, GenericSolver.SolverInterface c)
public static void leaveUserFunction(Value returnval, boolean exceptional, Function f, State state, GenericSolver.SolverInterface c, NodeAndContext<CallContext> specific_caller)
Copyright © 2012 Aarhus University