fabil.visit
Class InlineableWrapper

java.lang.Object
  extended by AscriptionVisitor
      extended by fabil.visit.InlineableWrapper

public class InlineableWrapper
extends AscriptionVisitor

Traverses the AST and wraps/unwraps JavaInlineables as necessary.


Field Summary
protected  FabILNodeFactory nf
           
protected  FabILTypeSystem ts
           
 
Constructor Summary
InlineableWrapper(Job job, FabILTypeSystem ts, FabILNodeFactory nf)
           
 
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
 

Field Detail

nf

protected FabILNodeFactory nf

ts

protected FabILTypeSystem ts
Constructor Detail

InlineableWrapper

public InlineableWrapper(Job job,
                         FabILTypeSystem ts,
                         FabILNodeFactory nf)
Method Detail

leaveCall

protected Node leaveCall(Node parent,
                         Node old,
                         Node n,
                         NodeVisitor v)
                  throws SemanticException
Throws:
SemanticException

ascribe

public Expr ascribe(Expr e,
                    Type toType)