fabil.extension
Interface FabILExt

All Known Subinterfaces:
ClassMemberExt
All Known Implementing Classes:
AbortExt_c, AnnotatedExt_c, ArrayAccessAssignExt_c, ArrayAccessExt_c, AtomicExt_c, BinaryExt_c, CallExt_c, CastExt_c, ClassBodyExt_c, ClassDeclExt_c, ClassMemberExt_c, ConstructorCallExt_c, ConstructorDeclExt_c, EvalExt_c, ExprExt_c, FabILExt_c, FabricArrayInitExt_c, FieldAssignExt_c, FieldDeclExt_c, FieldExt_c, InitializerExt_c, InstanceofExt_c, MethodDeclExt_c, NewExt_c, NewFabricArrayExt_c, RetryExt_c, SpecialExt_c, TypeNodeExt_c, UnaryExt_c

public interface FabILExt

The interface for all Fabric extension nodes.


Method Summary
 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.
 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.
 

Method Detail

collectStaticInitializers

Node collectStaticInitializers(StaticInitializerCollector sc)
Used by StaticInitializerCollector.


assignLabels

Node assignLabels(LabelAssigner la)
                  throws SemanticException
Used by LabelAssigner to assign labels to all new expressions.

Throws:
SemanticException

assignLocations

Node assignLocations(LocationAssigner la)
                     throws SemanticException
Used by LocationAssigner to assign locations to all new expressions.

Throws:
SemanticException

rewriteProxiesOverride

Node rewriteProxiesOverride(ProxyRewriter rewriter)
Used by ProxyRewriter to override the default visitor behaviour.

See Also:
polyglot.visit.NodeVisitor#override(Node)

rewriteProxies

Node rewriteProxies(ProxyRewriter pr)
Used by ProxyRewriter to rewrite references to proxy references.


rewriteAtomic

Node rewriteAtomic(AtomicRewriter ar)
Used by AtomicRewriter to rewrite the AST to eliminate atomic statements.


rewriteThreads

Node rewriteThreads(ThreadRewriter tr)
Used by ThreadRewriter to hook Threads into the worker's transaction manager.


rewriteRemoteCalls

Node rewriteRemoteCalls(RemoteCallRewriter rr)
Used by RemoteCallRewriter to translate RMIs.