polyglot.ext.coffer.ast
Interface CofferNodeFactory

All Superinterfaces:
NodeFactory
All Known Implementing Classes:
CofferNodeFactory_c

public interface CofferNodeFactory
extends NodeFactory

NodeFactory for Coffer extension.


Method Summary
 AmbKeySetNode AmbKeySetNode(Position pos, java.util.List keys)
           
 CanonicalKeySetNode CanonicalKeySetNode(Position pos, KeySet keys)
           
 CofferClassDecl CofferClassDecl(Position pos, Flags flags, java.lang.String name, KeyNode key, TypeNode superClass, java.util.List interfaces, ClassBody body)
           
 CofferConstructorDecl CofferConstructorDecl(Position pos, Flags flags, java.lang.String name, java.util.List argTypes, KeySetNode entryKeys, KeySetNode returnKeys, java.util.List throwConstraints, Block body)
           
 CofferMethodDecl CofferMethodDecl(Position pos, Flags flags, TypeNode returnType, java.lang.String name, java.util.List argTypes, KeySetNode entryKeys, KeySetNode returnKeys, java.util.List throwConstraints, Block body)
           
 Free Free(Position pos, Expr expr)
           
 KeyNode KeyNode(Position pos, Key key)
           
 ThrowConstraintNode ThrowConstraintNode(Position pos, TypeNode tn, KeySetNode keys)
           
 New TrackedNew(Position pos, Expr outer, KeyNode key, TypeNode objectType, java.util.List args, ClassBody body)
           
 TrackedTypeNode TrackedTypeNode(Position pos, KeyNode key, TypeNode base)
           
 
Methods inherited from interface polyglot.ast.NodeFactory
AmbAssign, AmbExpr, AmbPrefix, AmbPrefix, AmbQualifierNode, AmbQualifierNode, AmbReceiver, AmbReceiver, AmbTypeNode, AmbTypeNode, ArrayAccess, ArrayAccessAssign, ArrayInit, ArrayInit, ArrayTypeNode, Assert, Assert, Assign, Binary, Block, Block, Block, Block, Block, Block, BooleanLit, Branch, Branch, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, CanonicalTypeNode, Case, Cast, Catch, CharLit, ClassBody, ClassDecl, ClassLit, Conditional, ConstructorCall, ConstructorCall, ConstructorDecl, Continue, Continue, Default, disamb, Do, Empty, Eval, Field, Field, FieldAssign, FieldDecl, FieldDecl, FloatLit, For, Formal, If, If, Import, Initializer, Instanceof, IntLit, Labeled, Local, LocalAssign, LocalClassDecl, LocalDecl, LocalDecl, MethodDecl, New, New, New, New, NewArray, NewArray, NewArray, NewArray, NullLit, PackageNode, Return, Return, SourceCollection, SourceFile, SourceFile, SourceFile, Special, Special, StringLit, Super, Super, SuperCall, SuperCall, Switch, SwitchBlock, Synchronized, This, This, ThisCall, ThisCall, Throw, Try, Try, Unary, Unary, While
 

Method Detail

Free

public Free Free(Position pos,
                 Expr expr)

TrackedTypeNode

public TrackedTypeNode TrackedTypeNode(Position pos,
                                       KeyNode key,
                                       TypeNode base)

AmbKeySetNode

public AmbKeySetNode AmbKeySetNode(Position pos,
                                   java.util.List keys)

CanonicalKeySetNode

public CanonicalKeySetNode CanonicalKeySetNode(Position pos,
                                               KeySet keys)

KeyNode

public KeyNode KeyNode(Position pos,
                       Key key)

TrackedNew

public New TrackedNew(Position pos,
                      Expr outer,
                      KeyNode key,
                      TypeNode objectType,
                      java.util.List args,
                      ClassBody body)

ThrowConstraintNode

public ThrowConstraintNode ThrowConstraintNode(Position pos,
                                               TypeNode tn,
                                               KeySetNode keys)

CofferMethodDecl

public CofferMethodDecl CofferMethodDecl(Position pos,
                                         Flags flags,
                                         TypeNode returnType,
                                         java.lang.String name,
                                         java.util.List argTypes,
                                         KeySetNode entryKeys,
                                         KeySetNode returnKeys,
                                         java.util.List throwConstraints,
                                         Block body)

CofferConstructorDecl

public CofferConstructorDecl CofferConstructorDecl(Position pos,
                                                   Flags flags,
                                                   java.lang.String name,
                                                   java.util.List argTypes,
                                                   KeySetNode entryKeys,
                                                   KeySetNode returnKeys,
                                                   java.util.List throwConstraints,
                                                   Block body)

CofferClassDecl

public CofferClassDecl CofferClassDecl(Position pos,
                                       Flags flags,
                                       java.lang.String name,
                                       KeyNode key,
                                       TypeNode superClass,
                                       java.util.List interfaces,
                                       ClassBody body)