net.jangaroo.jooc
Class ImportDirective

java.lang.Object
  extended by net.jangaroo.jooc.NodeImplBase
      extended by net.jangaroo.jooc.ImportDirective

public class ImportDirective
extends NodeImplBase

Author:
Andreas Gawecki, Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ImportDirective(Ide packageIde, java.lang.String typeName)
           
ImportDirective(JooSymbol importKeyword, Ide ide)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
protected  void generateAsApiCode(JsWriter out)
          Default implementation generates same code as JS.
protected  void generateJsCode(JsWriter out)
           
 java.lang.String getQualifiedName()
           
 JooSymbol getSymbol()
           
 int hashCode()
           
 void scope(Scope scope)
           
 
Methods inherited from class net.jangaroo.jooc.NodeImplBase
analyze, analyze, generateCode, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportDirective

public ImportDirective(Ide packageIde,
                       java.lang.String typeName)

ImportDirective

public ImportDirective(JooSymbol importKeyword,
                       Ide ide)
Method Detail

scope

public void scope(Scope scope)

getQualifiedName

public java.lang.String getQualifiedName()

generateAsApiCode

protected void generateAsApiCode(JsWriter out)
                          throws java.io.IOException
Description copied from class: NodeImplBase
Default implementation generates same code as JS. Overwritten where this must differ.

Overrides:
generateAsApiCode in class NodeImplBase
Throws:
java.io.IOException

generateJsCode

protected void generateJsCode(JsWriter out)
                       throws java.io.IOException
Specified by:
generateJsCode in class NodeImplBase
Throws:
java.io.IOException

getSymbol

public JooSymbol getSymbol()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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