net.jangaroo.jooc.ast
Class PackageDeclaration
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Directive
net.jangaroo.jooc.ast.Statement
net.jangaroo.jooc.ast.Declaration
net.jangaroo.jooc.ast.IdeDeclaration
net.jangaroo.jooc.ast.PackageDeclaration
- All Implemented Interfaces:
- AstNode, CodeGenerator
public class PackageDeclaration
- extends IdeDeclaration
- Author:
- Andreas Gawecki, Frank Wienberg
| 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 |
| Methods inherited from class net.jangaroo.jooc.ast.IdeDeclaration |
getIde, getName, getQualifiedName, getQualifiedNameStr, handleDuplicateDeclaration, isConstructor, isMethod, isPrimaryDeclaration, resolveDeclaration, resolvePropertyDeclaration, setIde, toString |
| Methods inherited from class net.jangaroo.jooc.ast.Declaration |
analyze, computeModifiers, getAllowedModifiers, getClassDeclaration, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isStatic, setClassDeclaration, setInheritedModifiers, setParentDeclaration, setSymInheritedModifiers |
PackageDeclaration
public PackageDeclaration(JooSymbol symPackage,
Ide ide)
visit
public void visit(AstVisitor visitor)
throws IOException
- Throws:
IOException
scope
public void scope(Scope scope)
- Specified by:
scope in interface AstNode- Overrides:
scope in class IdeDeclaration
getSymbol
public JooSymbol getSymbol()
- Specified by:
getSymbol in interface AstNode- Overrides:
getSymbol in class IdeDeclaration
isTopLevel
public boolean isTopLevel()
getSymPackage
public JooSymbol getSymPackage()
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.