Package net.jangaroo.jooc.ast
Class PredefinedTypeDeclaration
- 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.TypeDeclaration
-
- net.jangaroo.jooc.ast.PredefinedTypeDeclaration
-
- All Implemented Interfaces:
AstNode
public class PredefinedTypeDeclaration extends TypeDeclaration
- 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
-
-
Constructor Summary
Constructors Constructor Description PredefinedTypeDeclaration(String name, boolean dynamic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetAllowedModifiers()TypedIdeDeclarationgetMemberDeclaration(String memberName)TypedIdeDeclarationgetStaticMemberDeclaration(String memberName)ClassDeclarationgetSuperTypeDeclaration()booleanisDynamic()voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.TypeDeclaration
resolvePropertyDeclaration, resolvePropertyDeclaration
-
Methods inherited from class net.jangaroo.jooc.ast.IdeDeclaration
analyze, getChildren, getDeclarationSymbol, getExtNamespaceRelativeTargetQualifiedNameStr, getIde, getName, getPackageDeclaration, getQualifiedName, getQualifiedNameStr, getSuperDeclaration, getSymbol, getTargetQualifiedNameStr, getTargetQualifiedNameStrWithoutRename, getType, getUsages, handleDuplicateDeclaration, isConstructor, isDeclaringCompileTimeConstant, isMethod, isPrimaryDeclaration, resolveDeclaration, scope, setIde, toString, toSymbolArray
-
Methods inherited from class net.jangaroo.jooc.ast.Declaration
computeModifiers, getAnnotation, getAnnotations, getAnnotations, getClassDeclaration, getCompilationUnit, getModifierFlag, getModifiers, getParentDeclaration, getSymInheritedModifiers, getSymModifiers, isAbstract, isFinal, isNative, isOverride, isPrivate, isPrivateStatic, isProtected, isPublic, isPublicApi, 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
-
-
-
-
Constructor Detail
-
PredefinedTypeDeclaration
public PredefinedTypeDeclaration(String name, boolean dynamic)
-
-
Method Detail
-
isDynamic
public boolean isDynamic()
- Overrides:
isDynamicin classDeclaration
-
getMemberDeclaration
public TypedIdeDeclaration getMemberDeclaration(String memberName)
- Specified by:
getMemberDeclarationin classTypeDeclaration
-
getStaticMemberDeclaration
public TypedIdeDeclaration getStaticMemberDeclaration(String memberName)
- Specified by:
getStaticMemberDeclarationin classTypeDeclaration
-
getSuperTypeDeclaration
public ClassDeclaration getSuperTypeDeclaration()
- Specified by:
getSuperTypeDeclarationin classTypeDeclaration
-
visit
public void visit(AstVisitor visitor) throws IOException
- Throws:
IOException
-
getAllowedModifiers
protected int getAllowedModifiers()
- Overrides:
getAllowedModifiersin classDeclaration
-
-