net.jangaroo.jooc.ast
Class IdeDeclaration
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
- All Implemented Interfaces:
- AstNode
- Direct Known Subclasses:
- ClassDeclaration, NamespacedDeclaration, PackageDeclaration, Parameter, PredefinedTypeDeclaration, TypedIdeDeclaration
public abstract class IdeDeclaration
- extends Declaration
- Author:
- Andreas Gawecki
| 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.Declaration |
analyze, computeModifiers, getAllowedModifiers, getClassDeclaration, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isDynamic, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isPublicApi, isStatic, setClassDeclaration, setInheritedModifiers, setParentDeclaration, setSymInheritedModifiers |
| Methods inherited from interface net.jangaroo.jooc.ast.AstNode |
visit |
IdeDeclaration
protected IdeDeclaration(JooSymbol[] modifiers,
Ide ide)
IdeDeclaration
protected IdeDeclaration(Ide ide)
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildren in interface AstNode- Overrides:
getChildren in class NodeImplBase
getIde
public Ide getIde()
getSymbol
public JooSymbol getSymbol()
getName
public String getName()
getQualifiedName
public String[] getQualifiedName()
getQualifiedNameStr
public String getQualifiedNameStr()
scope
public void scope(Scope scope)
- Specified by:
scope in interface AstNode- Overrides:
scope in class Declaration
handleDuplicateDeclaration
public void handleDuplicateDeclaration(Scope scope,
AstNode oldNode)
isMethod
public boolean isMethod()
isConstructor
public boolean isConstructor()
resolveDeclaration
public IdeDeclaration resolveDeclaration()
- Resolve this declaration to the underlying Class or PredefinedType declaration
- Returns:
- the declaration
resolvePropertyDeclaration
public IdeDeclaration resolvePropertyDeclaration(String ide)
toString
public String toString()
- Overrides:
toString in class Object
isPrimaryDeclaration
public boolean isPrimaryDeclaration()
isDeclaringCompileTimeConstant
public boolean isDeclaringCompileTimeConstant()
setIde
public void setIde(Ide ide)
getPackageDeclaration
public PackageDeclaration getPackageDeclaration()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.