net.jangaroo.jooc.ast
Class NamespacedDeclaration

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.Declaration
                  extended by net.jangaroo.jooc.ast.IdeDeclaration
                      extended by net.jangaroo.jooc.ast.NamespacedDeclaration
All Implemented Interfaces:
AstNode

public class NamespacedDeclaration
extends IdeDeclaration

Author:
Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Field Summary
 
Fields inherited from class net.jangaroo.jooc.ast.Declaration
MODIFIER_ABSTRACT, MODIFIER_DYNAMIC, MODIFIER_FINAL, MODIFIER_INTERNAL, MODIFIER_NAMESPACE, MODIFIER_NATIVE, MODIFIER_OVERRIDE, MODIFIER_PRIVATE, MODIFIER_PROTECTED, MODIFIER_PUBLIC, MODIFIER_STATIC, MODIFIER_VIRTUAL, MODIFIERS_SCOPE
 
Constructor Summary
NamespacedDeclaration(JooSymbol[] modifiers, JooSymbol symNamespace, Ide ide, Initializer optInitializer, JooSymbol optSymSemicolon)
           
 
Method Summary
protected  int getAllowedModifiers()
           
 List<? extends AstNode> getChildren()
           
 Initializer getOptInitializer()
           
 JooSymbol getOptSymSemicolon()
           
 JooSymbol getSymNamespace()
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.IdeDeclaration
getIde, getName, getPackageDeclaration, getQualifiedName, getQualifiedNameStr, getSymbol, handleDuplicateDeclaration, isConstructor, isDeclaringCompileTimeConstant, isMethod, isPrimaryDeclaration, resolveDeclaration, resolvePropertyDeclaration, scope, setIde, toString
 
Methods inherited from class net.jangaroo.jooc.ast.Declaration
analyze, computeModifiers, getClassDeclaration, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isDynamic, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isPublicApi, isStatic, setClassDeclaration, setInheritedModifiers, setParentDeclaration, setSymInheritedModifiers
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, 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, wait, wait, wait
 

Constructor Detail

NamespacedDeclaration

public NamespacedDeclaration(JooSymbol[] modifiers,
                             JooSymbol symNamespace,
                             Ide ide,
                             Initializer optInitializer,
                             JooSymbol optSymSemicolon)
Method Detail

getChildren

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

visit

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

getOptInitializer

public Initializer getOptInitializer()

getSymNamespace

public JooSymbol getSymNamespace()

getOptSymSemicolon

public JooSymbol getOptSymSemicolon()

getAllowedModifiers

protected int getAllowedModifiers()
Overrides:
getAllowedModifiers in class Declaration


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