net.jangaroo.jooc.ast
Class NodeImplBase

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
All Implemented Interfaces:
AstNode
Direct Known Subclasses:
AnnotationParameter, CompilationUnit, Directive, Expr, Extends, ForInitializer, Ide, Implements, Initializer, ObjectField, Type, TypeRelation

public abstract class NodeImplBase
extends Object
implements AstNode

Author:
Andreas Gawecki

Nested Class Summary
static interface NodeImplBase.Scoped
           
 
Constructor Summary
NodeImplBase()
           
 
Method Summary
 void analyze(AstNode parentNode)
           
<N extends AstNode>
void
analyze(AstNode parent, List<N> nodes)
           
 List<? extends AstNode> getChildren()
           
 AstNode getParentNode()
           
 List<AstNode> makeChildren(Object... objects)
           
<N extends AstNode>
void
scope(List<N> nodes, Scope scope)
           
 void withNewDeclarationScope(AstNode definingNode, Scope scope, NodeImplBase.Scoped scoped)
           
 void withNewLabelScope(Statement statement, Scope scope, NodeImplBase.Scoped scoped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jangaroo.jooc.ast.AstNode
getSymbol, scope, visit
 

Constructor Detail

NodeImplBase

public NodeImplBase()
Method Detail

getChildren

public List<? extends AstNode> getChildren()
Specified by:
getChildren in interface AstNode

makeChildren

public List<AstNode> makeChildren(Object... objects)

analyze

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

getParentNode

public AstNode getParentNode()
Specified by:
getParentNode in interface AstNode

scope

public <N extends AstNode> void scope(List<N> nodes,
                                      Scope scope)

analyze

public <N extends AstNode> void analyze(AstNode parent,
                                        List<N> nodes)

withNewDeclarationScope

public void withNewDeclarationScope(AstNode definingNode,
                                    Scope scope,
                                    NodeImplBase.Scoped scoped)

withNewLabelScope

public void withNewLabelScope(Statement statement,
                              Scope scope,
                              NodeImplBase.Scoped scoped)


Copyright © 2002–2014 CoreMedia AG. All rights reserved.