Package net.jangaroo.jooc.ast
Class QualifiedIde
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.Ide
-
- net.jangaroo.jooc.ast.QualifiedIde
-
-
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.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description QualifiedIde(Ide qualifier, JooSymbol symDot, JooSymbol symIde)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddExternalUsage(Boolean required)voidanalyze(AstNode parentNode)voidanalyzeAsExpr(AstNode exprParent, Expr parentExpr)booleanequals(Object o)List<? extends AstNode>getChildren()IdeDeclarationgetMemberDeclaration()String[]getQualifiedName()StringgetQualifiedNameStr()IdegetQualifier()JooSymbolgetSymbol()JooSymbolgetSymDot()inthashCode()booleanisQualifiedBySuper()Idequalify(JooSymbol symQualifier, JooSymbol symDot)IdeDeclarationresolveDeclaration()Resolve the declaration of this ide to the underlying declaration.voidscope(Scope scope)voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.Ide
addPublicApiDependency, getDeclaration, getDeclaration, getIde, getName, getQualified, getScope, isAssignmentLHS, isBound, isQualified, isQualifiedByThis, isRewriteThis, isSuper, isThis, isValidIdentifier, setBound, setIde, setQualified, toString, verifyIdentifier
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Method Detail
-
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildrenin interfaceAstNode- Overrides:
getChildrenin classNodeImplBase
-
visit
public void visit(AstVisitor visitor) throws IOException
- Specified by:
visitin interfaceAstNode- Overrides:
visitin classIde- Throws:
IOException
-
getQualifier
public Ide getQualifier()
- Overrides:
getQualifierin classIde
-
getSymDot
public JooSymbol getSymDot()
-
getQualifiedName
public String[] getQualifiedName()
- Overrides:
getQualifiedNamein classIde
-
getQualifiedNameStr
public String getQualifiedNameStr()
- Overrides:
getQualifiedNameStrin classIde
-
isQualifiedBySuper
public boolean isQualifiedBySuper()
- Overrides:
isQualifiedBySuperin classIde
-
getSymbol
public JooSymbol getSymbol()
-
addExternalUsage
public boolean addExternalUsage(Boolean required)
- Overrides:
addExternalUsagein classIde
-
scope
public void scope(Scope scope)
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classNodeImplBase
-
analyzeAsExpr
public void analyzeAsExpr(AstNode exprParent, Expr parentExpr)
- Overrides:
analyzeAsExprin classIde
-
resolveDeclaration
public IdeDeclaration resolveDeclaration()
Description copied from class:IdeResolve the declaration of this ide to the underlying declaration. callable after scoping phase- Overrides:
resolveDeclarationin classIde- Returns:
- null if the declaration cannot be resolved
-
getMemberDeclaration
public IdeDeclaration getMemberDeclaration()
- Overrides:
getMemberDeclarationin classIde
-
-