fabil.visit
Class ProxyRewriter

java.lang.Object
  extended by NodeVisitor
      extended by fabil.visit.ProxyRewriter

public class ProxyRewriter
extends NodeVisitor

Rewrites FabIL classes into classes that implement fabric.lang.Object.


Field Summary
protected  FabILNodeFactory nf
           
protected  QQ qq
           
protected  FabILTypeSystem ts
           
 
Constructor Summary
ProxyRewriter(ExtensionInfo extInfo)
           
 
Method Summary
 NodeVisitor enter(Node parent, Node n)
           
 java.lang.String getShadow(LocalInstance l)
          Returns a shadow name for local variable l.
 Node leave(Node old, Node n, NodeVisitor v)
           
 FabILNodeFactory nodeFactory()
           
 Node override(Node n)
           
 QQ qq()
           
 Receiver replaceTarget(Receiver target, ReadWriteChecker.State accessState)
           
static Flags toFinal(Flags flags)
           
static Flags toInterface(Flags flags)
           
static Flags toPrivate(Flags flags)
           
static Flags toPublic(Flags flags)
           
 FabILTypeSystem typeSystem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qq

protected QQ qq

nf

protected FabILNodeFactory nf

ts

protected FabILTypeSystem ts
Constructor Detail

ProxyRewriter

public ProxyRewriter(ExtensionInfo extInfo)
Method Detail

enter

public NodeVisitor enter(Node parent,
                         Node n)

override

public Node override(Node n)

leave

public Node leave(Node old,
                  Node n,
                  NodeVisitor v)

qq

public QQ qq()

nodeFactory

public FabILNodeFactory nodeFactory()

typeSystem

public FabILTypeSystem typeSystem()

toPublic

public static Flags toPublic(Flags flags)

toPrivate

public static Flags toPrivate(Flags flags)

toFinal

public static Flags toFinal(Flags flags)

toInterface

public static Flags toInterface(Flags flags)

getShadow

public java.lang.String getShadow(LocalInstance l)
Returns a shadow name for local variable l.


replaceTarget

public Receiver replaceTarget(Receiver target,
                              ReadWriteChecker.State accessState)