polyglot.ext.ibex.ast
Class IbexNodeFactory_c

java.lang.Object
  extended bypolyglot.ext.jl.ast.AbstractNodeFactory_c
      extended bypolyglot.ext.jl.ast.NodeFactory_c
          extended bypolyglot.ext.ibex.ast.IbexNodeFactory_c
All Implemented Interfaces:
IbexNodeFactory, NodeFactory

public class IbexNodeFactory_c
extends NodeFactory_c
implements IbexNodeFactory

NodeFactory for ibex extension.


Constructor Summary
  IbexNodeFactory_c()
           
protected IbexNodeFactory_c(ExtFactory extFact)
           
 
Method Summary
 RhsCaseNode RhsCaseNode(Position pos, java.util.List elements, Block action)
           
 RhsMergeNode RhsMergeNode(Position pos, java.util.List elements1, java.util.List elements2, Block action)
           
 RuleDecl RuleDecl(Position pos, Flags flags, TypeNode type, java.lang.String lhs, java.util.List choices, boolean isStart)
           
 SuperSymbolNode SuperSymbolNode(Position pos, java.lang.String name)
           
 SymbolNode SymbolNode(Position pos, java.lang.String name)
           
 Tagged Tagged(Position pos, java.lang.String tag, SymbolNode sym)
           
 TerminalDecl TerminalDecl(Position pos, Flags flags, TypeNode type, java.lang.String name)
           
 
Methods inherited from class polyglot.ext.jl.ast.NodeFactory_c
AmbAssign, AmbExpr, AmbPrefix, AmbQualifierNode, AmbReceiver, AmbTypeNode, ArrayAccess, ArrayAccessAssign, ArrayInit, ArrayTypeNode, Assert, Assign, Binary, Block, BooleanLit, Branch, Call, CanonicalTypeNode, Case, Cast, Catch, CharLit, ClassBody, ClassDecl, ClassLit, Conditional, ConstructorCall, ConstructorDecl, delFactory, Do, Empty, Eval, extFactory, Field, FieldAssign, FieldDecl, findExtFactInstance, FloatLit, For, Formal, If, Import, Initializer, Instanceof, IntLit, Labeled, Local, LocalAssign, LocalClassDecl, LocalDecl, MethodDecl, New, NewArray, NullLit, PackageNode, Return, SourceCollection, SourceFile, Special, StringLit, Switch, SwitchBlock, Synchronized, Throw, Try, Unary, While
 
Methods inherited from class polyglot.ext.jl.ast.AbstractNodeFactory_c
AmbPrefix, AmbQualifierNode, AmbReceiver, AmbTypeNode, ArrayInit, Assert, Block, Block, Block, Block, Block, Branch, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, ConstructorCall, Continue, Continue, Default, disamb, Field, FieldDecl, If, LocalDecl, New, New, New, NewArray, NewArray, NewArray, Return, SourceFile, SourceFile, Special, Super, Super, SuperCall, SuperCall, This, This, ThisCall, ThisCall, Try, Unary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

IbexNodeFactory_c

public IbexNodeFactory_c()

IbexNodeFactory_c

protected IbexNodeFactory_c(ExtFactory extFact)
Method Detail

TerminalDecl

public TerminalDecl TerminalDecl(Position pos,
                                 Flags flags,
                                 TypeNode type,
                                 java.lang.String name)
Specified by:
TerminalDecl in interface IbexNodeFactory

RuleDecl

public RuleDecl RuleDecl(Position pos,
                         Flags flags,
                         TypeNode type,
                         java.lang.String lhs,
                         java.util.List choices,
                         boolean isStart)
Specified by:
RuleDecl in interface IbexNodeFactory

RhsCaseNode

public RhsCaseNode RhsCaseNode(Position pos,
                               java.util.List elements,
                               Block action)
Specified by:
RhsCaseNode in interface IbexNodeFactory

RhsMergeNode

public RhsMergeNode RhsMergeNode(Position pos,
                                 java.util.List elements1,
                                 java.util.List elements2,
                                 Block action)
Specified by:
RhsMergeNode in interface IbexNodeFactory

Tagged

public Tagged Tagged(Position pos,
                     java.lang.String tag,
                     SymbolNode sym)
Specified by:
Tagged in interface IbexNodeFactory

SymbolNode

public SymbolNode SymbolNode(Position pos,
                             java.lang.String name)
Specified by:
SymbolNode in interface IbexNodeFactory

SuperSymbolNode

public SuperSymbolNode SuperSymbolNode(Position pos,
                                       java.lang.String name)
Specified by:
SuperSymbolNode in interface IbexNodeFactory