Package net.jangaroo.jooc.ast
Class TypedIdeDeclaration
- 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.TypedIdeDeclaration
-
- Direct Known Subclasses:
FunctionDeclaration,PropertyDeclaration,VariableDeclaration
public abstract class TypedIdeDeclaration extends IdeDeclaration implements Typed
- Author:
- Andreas Gawecki
-
-
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
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)List<? extends AstNode>getChildren()IdegetNamespace()TypeRelationgetOptTypeRelation()ExpressionTypegetType()booleanisBindable()booleanisExtConfig()booleanisExtConfigOrBindable()booleanisMixinMemberRedeclaration()booleanisPublicApi()IdeDeclarationresolveDeclaration()Resolve this declaration to the underlying Class or PredefinedType declarationvoidscope(Scope scope)-
Methods inherited from class net.jangaroo.jooc.ast.IdeDeclaration
getDeclarationSymbol, getExtNamespaceRelativeTargetQualifiedNameStr, getIde, getName, getPackageDeclaration, getQualifiedName, getQualifiedNameStr, getSuperDeclaration, getSymbol, getTargetQualifiedNameStr, getTargetQualifiedNameStrWithoutRename, getUsages, handleDuplicateDeclaration, isConstructor, isDeclaringCompileTimeConstant, isMethod, isPrimaryDeclaration, setIde, toString, toSymbolArray
-
Methods inherited from class net.jangaroo.jooc.ast.Declaration
computeModifiers, getAllowedModifiers, getAnnotation, getAnnotations, getAnnotations, getClassDeclaration, getCompilationUnit, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isDynamic, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isStatic, isWritable, 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, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Method Detail
-
getNamespace
public Ide getNamespace()
-
isPublicApi
public boolean isPublicApi()
- Overrides:
isPublicApiin classDeclaration
-
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildrenin interfaceAstNode- Overrides:
getChildrenin classIdeDeclaration
-
scope
public void scope(Scope scope)
- Specified by:
scopein interfaceAstNode- Overrides:
scopein classIdeDeclaration
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classIdeDeclaration
-
getType
public ExpressionType getType()
- Overrides:
getTypein classIdeDeclaration
-
resolveDeclaration
public IdeDeclaration resolveDeclaration()
Description copied from class:IdeDeclarationResolve this declaration to the underlying Class or PredefinedType declaration- Overrides:
resolveDeclarationin classIdeDeclaration- Returns:
- the declaration
-
getOptTypeRelation
public TypeRelation getOptTypeRelation()
- Specified by:
getOptTypeRelationin interfaceTyped
-
isMixinMemberRedeclaration
public boolean isMixinMemberRedeclaration()
-
isExtConfigOrBindable
public boolean isExtConfigOrBindable()
-
isExtConfig
public boolean isExtConfig()
-
isBindable
public boolean isBindable()
-
-