net.jangaroo.jooc.ast
Class CommaSeparatedList<T extends AstNode>

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.CommaSeparatedList<T>
All Implemented Interfaces:
AstNode, CodeGenerator
Direct Known Subclasses:
Parameters

public class CommaSeparatedList<T extends AstNode>
extends Expr

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
CommaSeparatedList(T head)
           
CommaSeparatedList(T head, JooSymbol comma, CommaSeparatedList<T> tail)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 T getHead()
           
 JooSymbol getSymbol()
           
 JooSymbol getSymComma()
           
 CommaSeparatedList<T> getTail()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, setType
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, generate, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommaSeparatedList

public CommaSeparatedList(T head)

CommaSeparatedList

public CommaSeparatedList(T head,
                          JooSymbol comma,
                          CommaSeparatedList<T> tail)
Method Detail

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

scope

public void scope(Scope scope)

analyze

public void analyze(AstNode parentNode)
Specified by:
analyze in interface AstNode
Overrides:
analyze in class NodeImplBase

getSymbol

public JooSymbol getSymbol()

getHead

public T getHead()

getSymComma

public JooSymbol getSymComma()

getTail

public CommaSeparatedList<T> getTail()


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.