fabil.extension
Class AnnotatedExt_c

java.lang.Object
  extended by Ext_c
      extended by fabil.extension.FabILExt_c
          extended by fabil.extension.ExprExt_c
              extended by fabil.extension.AnnotatedExt_c
All Implemented Interfaces:
FabILExt
Direct Known Subclasses:
FabricArrayInitExt_c, NewExt_c, NewFabricArrayExt_c

public abstract class AnnotatedExt_c
extends ExprExt_c

Provides common functionality to the New and NewArray for managing label and location fields.


Constructor Summary
AnnotatedExt_c()
           
 
Method Summary
 Annotated assignLabels(LabelAssigner la)
          Used by LabelAssigner to assign labels to all new expressions.
 Annotated assignLocations(LocationAssigner la)
          Used by LocationAssigner to assign locations to all new expressions.
 void dump(CodeWriter w)
           
 Annotated node()
           
 
Methods inherited from class fabil.extension.ExprExt_c
rewriteProxies, rewriteProxiesImpl, rewriteProxiesOverride, rewriteProxiesOverrideImpl
 
Methods inherited from class fabil.extension.FabILExt_c
collectStaticInitializers, ext, rewriteAtomic, rewriteRemoteCalls, rewriteThreads
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedExt_c

public AnnotatedExt_c()
Method Detail

assignLabels

public Annotated assignLabels(LabelAssigner la)
                       throws SemanticException
Description copied from interface: FabILExt
Used by LabelAssigner to assign labels to all new expressions.

Specified by:
assignLabels in interface FabILExt
Overrides:
assignLabels in class FabILExt_c
Throws:
SemanticException - when a label is missing and no default can be assigned.

assignLocations

public Annotated assignLocations(LocationAssigner la)
                          throws SemanticException
Description copied from interface: FabILExt
Used by LocationAssigner to assign locations to all new expressions.

Specified by:
assignLocations in interface FabILExt
Overrides:
assignLocations in class FabILExt_c
Throws:
SemanticException

node

public Annotated node()
Overrides:
node in class ExprExt_c

dump

public void dump(CodeWriter w)