fabil.visit
Class InlineableWrapper
java.lang.Object
AscriptionVisitor
fabil.visit.InlineableWrapper
public class InlineableWrapper
- extends AscriptionVisitor
Traverses the AST and wraps/unwraps JavaInlineables as necessary.
Method Summary |
Expr |
ascribe(Expr e,
Type toType)
|
protected Node |
leaveCall(Node parent,
Node old,
Node n,
NodeVisitor v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nf
protected FabILNodeFactory nf
ts
protected FabILTypeSystem ts
InlineableWrapper
public InlineableWrapper(Job job,
FabILTypeSystem ts,
FabILNodeFactory nf)
leaveCall
protected Node leaveCall(Node parent,
Node old,
Node n,
NodeVisitor v)
throws SemanticException
- Throws:
SemanticException
ascribe
public Expr ascribe(Expr e,
Type toType)