fabil.ast
Class FabILNodeFactory_c

java.lang.Object
  extended by NodeFactory_c
      extended by fabil.ast.FabILNodeFactory_c
All Implemented Interfaces:
FabILNodeFactory

public class FabILNodeFactory_c
extends NodeFactory_c
implements FabILNodeFactory

NodeFactory for FabIL extension.


Constructor Summary
FabILNodeFactory_c()
           
 
Method Summary
 AbortStmt AbortStmt(Position pos)
           
 ArrayAccessAssign ArrayAccessAssign(Position pos, ArrayAccess left, Operator op, Expr right)
           
 ArrayTypeNode ArrayTypeNode(Position pos, TypeNode base)
           
 Atomic Atomic(Position pos, java.util.List<Stmt> statements)
           
 Call Call(Position pos, Receiver target, Id name, Expr remoteWorker, java.util.List<Expr> args)
           
 Call Call(Position pos, Receiver target, Id name, java.util.List args)
           
 Cast Cast(Position pos, TypeNode type, Expr expr)
           
 ClassDecl ClassDecl(Position pos, Flags flags, Id name, TypeNode superClass, java.util.List interfaces, ClassBody body)
           
protected  FabILDelFactory delFactory()
           
 FabILExtFactory extFactory()
           
 FabricArrayInit FabricArrayInit(Position pos, Expr label, Expr location, java.util.List<Expr> elements)
           
 FabricArrayInit FabricArrayInit(Position pos, java.util.List<Expr> elements)
           
 FabricArrayTypeNode FabricArrayTypeNode(Position pos, TypeNode type)
           
 New New(Position pos, Expr outer, TypeNode objectType, Expr label, Expr location, java.util.List<Expr> args)
           
 New New(Position pos, Expr outer, TypeNode objectType, Expr label, Expr location, java.util.List<Expr> args, ClassBody body)
           
 New New(Position pos, Expr outer, TypeNode objectType, java.util.List args, ClassBody body)
           
 New New(Position pos, TypeNode objectType, Expr label, Expr location, java.util.List<Expr> args)
           
 New New(Position pos, TypeNode type, Expr label, Expr location, java.util.List<Expr> args, polyglot.ast.ClassBody body)
           
 NewFabricArray NewFabricArray(Position pos, TypeNode base, Expr label, Expr location, int addDims, FabricArrayInit init)
          Creates an AST node representing the creation of a Fabric array.
 NewFabricArray NewFabricArray(Position pos, TypeNode base, Expr label, Expr location, java.util.List<Expr> dims)
          Creates an AST node representing the creation of a Fabric array.
 NewFabricArray NewFabricArray(Position pos, TypeNode base, Expr label, Expr location, java.util.List<Expr> dims, int addDims)
          Creates an AST node representing the creation of a Fabric array.
 NewFabricArray NewFabricArray(Position pos, TypeNode base, Expr label, Expr location, java.util.List<Expr> dims, int addDims, FabricArrayInit init)
          Creates an AST node representing the creation of a Fabric array.
 RetryStmt RetryStmt(Position pos)
           
 StoreGetter StoreGetter(Position pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FabILNodeFactory_c

public FabILNodeFactory_c()
Method Detail

extFactory

public FabILExtFactory extFactory()

delFactory

protected FabILDelFactory delFactory()

ArrayAccessAssign

public ArrayAccessAssign ArrayAccessAssign(Position pos,
                                           ArrayAccess left,
                                           Operator op,
                                           Expr right)

FabricArrayInit

public FabricArrayInit FabricArrayInit(Position pos,
                                       java.util.List<Expr> elements)
Specified by:
FabricArrayInit in interface FabILNodeFactory

FabricArrayInit

public FabricArrayInit FabricArrayInit(Position pos,
                                       Expr label,
                                       Expr location,
                                       java.util.List<Expr> elements)
Specified by:
FabricArrayInit in interface FabILNodeFactory

ArrayTypeNode

public ArrayTypeNode ArrayTypeNode(Position pos,
                                   TypeNode base)

FabricArrayTypeNode

public FabricArrayTypeNode FabricArrayTypeNode(Position pos,
                                               TypeNode type)
Specified by:
FabricArrayTypeNode in interface FabILNodeFactory

Atomic

public Atomic Atomic(Position pos,
                     java.util.List<Stmt> statements)
Specified by:
Atomic in interface FabILNodeFactory

Cast

public Cast Cast(Position pos,
                 TypeNode type,
                 Expr expr)

ClassDecl

public ClassDecl ClassDecl(Position pos,
                           Flags flags,
                           Id name,
                           TypeNode superClass,
                           java.util.List interfaces,
                           ClassBody body)

New

public New New(Position pos,
               Expr outer,
               TypeNode objectType,
               Expr label,
               Expr location,
               java.util.List<Expr> args,
               ClassBody body)
Specified by:
New in interface FabILNodeFactory

NewFabricArray

public NewFabricArray NewFabricArray(Position pos,
                                     TypeNode base,
                                     Expr label,
                                     Expr location,
                                     java.util.List<Expr> dims,
                                     int addDims,
                                     FabricArrayInit init)
Description copied from interface: FabILNodeFactory
Creates an AST node representing the creation of a Fabric array.

Specified by:
NewFabricArray in interface FabILNodeFactory

New

public New New(Position pos,
               Expr outer,
               TypeNode objectType,
               java.util.List args,
               ClassBody body)
Specified by:
New in interface FabILNodeFactory

New

public New New(Position pos,
               TypeNode objectType,
               Expr label,
               Expr location,
               java.util.List<Expr> args)
Specified by:
New in interface FabILNodeFactory

New

public New New(Position pos,
               Expr outer,
               TypeNode objectType,
               Expr label,
               Expr location,
               java.util.List<Expr> args)
Specified by:
New in interface FabILNodeFactory

New

public New New(Position pos,
               TypeNode type,
               Expr label,
               Expr location,
               java.util.List<Expr> args,
               polyglot.ast.ClassBody body)
Specified by:
New in interface FabILNodeFactory

NewFabricArray

public final NewFabricArray NewFabricArray(Position pos,
                                           TypeNode base,
                                           Expr label,
                                           Expr location,
                                           java.util.List<Expr> dims)
Description copied from interface: FabILNodeFactory
Creates an AST node representing the creation of a Fabric array.

Specified by:
NewFabricArray in interface FabILNodeFactory

NewFabricArray

public final NewFabricArray NewFabricArray(Position pos,
                                           TypeNode base,
                                           Expr label,
                                           Expr location,
                                           java.util.List<Expr> dims,
                                           int addDims)
Description copied from interface: FabILNodeFactory
Creates an AST node representing the creation of a Fabric array.

Specified by:
NewFabricArray in interface FabILNodeFactory

NewFabricArray

public final NewFabricArray NewFabricArray(Position pos,
                                           TypeNode base,
                                           Expr label,
                                           Expr location,
                                           int addDims,
                                           FabricArrayInit init)
Description copied from interface: FabILNodeFactory
Creates an AST node representing the creation of a Fabric array.

Specified by:
NewFabricArray in interface FabILNodeFactory

RetryStmt

public RetryStmt RetryStmt(Position pos)
Specified by:
RetryStmt in interface FabILNodeFactory

AbortStmt

public AbortStmt AbortStmt(Position pos)
Specified by:
AbortStmt in interface FabILNodeFactory

Call

public Call Call(Position pos,
                 Receiver target,
                 Id name,
                 java.util.List args)

Call

public Call Call(Position pos,
                 Receiver target,
                 Id name,
                 Expr remoteWorker,
                 java.util.List<Expr> args)
Specified by:
Call in interface FabILNodeFactory

StoreGetter

public StoreGetter StoreGetter(Position pos)
Specified by:
StoreGetter in interface FabILNodeFactory