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)
FabILExtStaticInitializerCollector.collectStaticInitializers in interface FabILExtpublic Node assignLabels(LabelAssigner la) throws SemanticException
FabILExtnew expressions.assignLabels in interface FabILExtSemanticException - when a label is missing and no default can be assigned.public Node assignLocations(LocationAssigner la) throws SemanticException
FabILExtnew
expressions.assignLocations in interface FabILExtSemanticExceptionpublic Node rewriteProxiesOverride(ProxyRewriter rewriter)
FabILExtrewriteProxiesOverride in interface FabILExtpolyglot.visit.NodeVisitor#override(Node)public Node rewriteAtomic(AtomicRewriter ar)
FabILExtAtomicRewriter to rewrite the AST to eliminate
atomic statements.rewriteAtomic in interface FabILExtpublic Node rewriteProxies(ProxyRewriter pr)
FabILExtrewriteProxies in interface FabILExtpublic Node rewriteThreads(ThreadRewriter tr)
FabILExtThreadRewriter to hook Threads into the worker's
transaction manager.rewriteThreads in interface FabILExtpublic Node rewriteRemoteCalls(RemoteCallRewriter rr)
FabILExtRemoteCallRewriter to translate RMIs.rewriteRemoteCalls in interface FabILExtpublic static FabILExt ext(Node n)