public class UnevalTools extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
VAR_PLACEHOLDER |
| Constructor and Description |
|---|
UnevalTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
gensym() |
static String |
get_call_name(FlowGraph fg,
CallNode n)
Returns the function name that was used to call the function or empty string if unknown.
|
static String |
rebuildFullExpression(FlowGraph fg,
AbstractNode n,
int register)
Rebuilds the expression used to create the value in a register from the flow graph.
|
static String |
rebuildFullFromMapping(FlowGraph fg,
String unevaled,
Map<String,Integer> mapping,
AbstractNode n)
Rebuild a full expression from a normal form and a mapping.
|
static NormalForm |
rebuildNormalForm(FlowGraph fg,
CallNode n,
State s,
GenericSolver.SolverInterface c)
Returns the normal form expression used to create the first argument to the CallNode.
|
static AnalyzerCallback |
unevalizerCallback(FlowGraph fg,
State state,
AbstractNode evalCall,
NormalForm input)
Returns a callback object for the transformation component.
|
public static String VAR_PLACEHOLDER
public static String gensym()
public static String get_call_name(FlowGraph fg, CallNode n)
public static String rebuildFullExpression(FlowGraph fg, AbstractNode n, int register)
public static String rebuildFullFromMapping(FlowGraph fg, String unevaled, Map<String,Integer> mapping, AbstractNode n)
public static NormalForm rebuildNormalForm(FlowGraph fg, CallNode n, State s, GenericSolver.SolverInterface c)
public static AnalyzerCallback unevalizerCallback(FlowGraph fg, State state, AbstractNode evalCall, NormalForm input)
Copyright © 2012 Aarhus University