public class FabILExt_c extends Ext_c implements FabILExt
Constructor and Description |
---|
FabILExt_c() |
Modifier and Type | Method and Description |
---|---|
Node |
assignLabels(LabelAssigner la)
Used by LabelAssigner to assign labels to all
new expressions. |
Node |
assignLocations(LocationAssigner la)
Used by LocationAssigner to assign locations to all
new
expressions. |
Node |
collectStaticInitializers(StaticInitializerCollector sc)
Used by
StaticInitializerCollector . |
static FabILExt |
ext(Node n)
Returns the Fabric extension object associated with the given node.
|
Node |
rewriteAtomic(AtomicRewriter ar)
Used by
AtomicRewriter to rewrite the AST to eliminate
atomic statements. |
Node |
rewriteProxies(ProxyRewriter pr)
Used by ProxyRewriter to rewrite references to proxy references.
|
Node |
rewriteProxiesOverride(ProxyRewriter rewriter)
Used by ProxyRewriter to override the default visitor behaviour.
|
Node |
rewriteRemoteCalls(RemoteCallRewriter rr)
Used by
RemoteCallRewriter to translate RMIs. |
Node |
rewriteThreads(ThreadRewriter tr)
Used by
ThreadRewriter to hook Threads into the worker's
transaction manager. |
public Node collectStaticInitializers(StaticInitializerCollector sc)
FabILExt
StaticInitializerCollector
.collectStaticInitializers
in interface FabILExt
public Node assignLabels(LabelAssigner la) throws SemanticException
FabILExt
new
expressions.assignLabels
in interface FabILExt
SemanticException
- when a label is missing and no default can be assigned.public Node assignLocations(LocationAssigner la) throws SemanticException
FabILExt
new
expressions.assignLocations
in interface FabILExt
SemanticException
public Node rewriteProxiesOverride(ProxyRewriter rewriter)
FabILExt
rewriteProxiesOverride
in interface FabILExt
polyglot.visit.NodeVisitor#override(Node)
public Node rewriteAtomic(AtomicRewriter ar)
FabILExt
AtomicRewriter
to rewrite the AST to eliminate
atomic
statements.rewriteAtomic
in interface FabILExt
public Node rewriteProxies(ProxyRewriter pr)
FabILExt
rewriteProxies
in interface FabILExt
public Node rewriteThreads(ThreadRewriter tr)
FabILExt
ThreadRewriter
to hook Threads into the worker's
transaction manager.rewriteThreads
in interface FabILExt
public Node rewriteRemoteCalls(RemoteCallRewriter rr)
FabILExt
RemoteCallRewriter
to translate RMIs.rewriteRemoteCalls
in interface FabILExt
public static FabILExt ext(Node n)