net.jangaroo.jooc.ast
Class AbstractBlock

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
          extended by net.jangaroo.jooc.ast.Statement
              extended by net.jangaroo.jooc.ast.AbstractBlock
All Implemented Interfaces:
AstNode
Direct Known Subclasses:
BlockStatement, ClassBody

public abstract class AbstractBlock
extends Statement


Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
AbstractBlock(JooSymbol rBrace, List<Directive> directives, JooSymbol lBrace)
           
 
Method Summary
 void addBlockStartCodeGenerator(CodeGenerator blockStartCodeGenerator)
           
 void analyze(AstNode parentNode)
           
 List<CodeGenerator> getBlockStartCodeGenerators()
           
 List<? extends AstNode> getChildren()
           
 List<Directive> getDirectives()
           
 JooSymbol getLBrace()
           
 JooSymbol getRBrace()
           
 JooSymbol getSymbol()
           
 void scope(Scope scope)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScope
 
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
visit
 

Constructor Detail

AbstractBlock

public AbstractBlock(JooSymbol rBrace,
                     List<Directive> directives,
                     JooSymbol lBrace)
Method Detail

getChildren

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

scope

public void scope(Scope scope)

addBlockStartCodeGenerator

public void addBlockStartCodeGenerator(CodeGenerator blockStartCodeGenerator)

analyze

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

getSymbol

public JooSymbol getSymbol()

getLBrace

public JooSymbol getLBrace()

getDirectives

public List<Directive> getDirectives()

getRBrace

public JooSymbol getRBrace()

getBlockStartCodeGenerators

public List<CodeGenerator> getBlockStartCodeGenerators()


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