net.jangaroo.jooc
Class QualifiedIde

java.lang.Object
  extended by net.jangaroo.jooc.NodeImplBase
      extended by net.jangaroo.jooc.Ide
          extended by net.jangaroo.jooc.QualifiedIde

public class QualifiedIde
extends Ide

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.NodeImplBase
NodeImplBase.Scoped
 
Field Summary
 
Fields inherited from class net.jangaroo.jooc.Ide
bound, rewriteThis
 
Constructor Summary
QualifiedIde(Ide qualifier, JooSymbol symDot, JooSymbol symIde)
           
 
Method Summary
 boolean addExternalUsage()
           
 net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode, AnalyzeContext context)
           
 void analyzeAsExpr(net.jangaroo.jooc.AstNode exprParent, net.jangaroo.jooc.Expr parentExpr, AnalyzeContext context)
           
 boolean equals(Object o)
           
protected  void generateCodeAsExpr(JsWriter out)
           
protected  void generateJsCode(JsWriter out)
           
protected  IdeDeclaration getMemberDeclaration()
           
 String[] getQualifiedName()
           
 String getQualifiedNameStr()
           
protected  Ide getQualifier()
           
 JooSymbol getSymbol()
           
 int hashCode()
           
 Ide qualify(JooSymbol symQualifier, JooSymbol symDot)
           
 IdeDeclaration resolveDeclaration()
          Resolve the declaration of this ide to the underlying declaration.
 void scope(Scope scope)
           
 
Methods inherited from class net.jangaroo.jooc.Ide
fromQName, getDeclaration, getDeclaration, getIde, getName, getQualified, getScope, isQualified, isQualifiedBySuper, isQualifiedByThis, isQualifier, isThisAccess, resolveMember, setQualified, toString, usageInExpr, writeBoundMethodAccess
 
Methods inherited from class net.jangaroo.jooc.NodeImplBase
analyze, generateAsApiCode, generateCode, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QualifiedIde

public QualifiedIde(Ide qualifier,
                    JooSymbol symDot,
                    JooSymbol symIde)
Method Detail

getQualifier

protected Ide getQualifier()
Overrides:
getQualifier in class Ide

getQualifiedName

public String[] getQualifiedName()
Overrides:
getQualifiedName in class Ide

getQualifiedNameStr

public String getQualifiedNameStr()
Overrides:
getQualifiedNameStr in class Ide

getSymbol

public JooSymbol getSymbol()
Overrides:
getSymbol in class Ide

qualify

public Ide qualify(JooSymbol symQualifier,
                   JooSymbol symDot)
Overrides:
qualify in class Ide

addExternalUsage

public boolean addExternalUsage()
Overrides:
addExternalUsage in class Ide

scope

public void scope(Scope scope)
Overrides:
scope in class Ide

analyze

public net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode,
                                         AnalyzeContext context)
Overrides:
analyze in class NodeImplBase

generateJsCode

protected void generateJsCode(JsWriter out)
                       throws IOException
Overrides:
generateJsCode in class Ide
Throws:
IOException

analyzeAsExpr

public void analyzeAsExpr(net.jangaroo.jooc.AstNode exprParent,
                          net.jangaroo.jooc.Expr parentExpr,
                          AnalyzeContext context)
Overrides:
analyzeAsExpr in class Ide

resolveDeclaration

public IdeDeclaration resolveDeclaration()
Description copied from class: Ide
Resolve the declaration of this ide to the underlying declaration. callable after scoping phase

Overrides:
resolveDeclaration in class Ide
Returns:
null if the declaration cannot be resolved

getMemberDeclaration

protected IdeDeclaration getMemberDeclaration()
Overrides:
getMemberDeclaration in class Ide

generateCodeAsExpr

protected void generateCodeAsExpr(JsWriter out)
                           throws IOException
Overrides:
generateCodeAsExpr in class Ide
Throws:
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Ide

hashCode

public int hashCode()
Overrides:
hashCode in class Ide


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.