net.jangaroo.jooc.ast
Class ImportDirective

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
          extended by net.jangaroo.jooc.ast.ImportDirective
All Implemented Interfaces:
AstNode

public class ImportDirective
extends Directive

Author:
Andreas Gawecki, Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ImportDirective(Ide packageIde, String typeName)
           
ImportDirective(JooSymbol importKeyword, Ide ide, JooSymbol symSemicolon)
           
 
Method Summary
 boolean equals(Object o)
           
 List<? extends AstNode> getChildren()
           
 Ide getIde()
           
 JooSymbol getImportKeyword()
           
 String getQualifiedName()
           
 JooSymbol getSymbol()
           
 JooSymbol getSymSemicolon()
          null if not explicit
 int hashCode()
           
 boolean isExplicit()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, analyze, getParentNode, makeChildren, 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,
                       String typeName)

ImportDirective

public ImportDirective(JooSymbol importKeyword,
                       Ide ide,
                       JooSymbol symSemicolon)
Method Detail

getChildren

public List<? extends AstNode> getChildren()
Specified by:
getChildren in interface AstNode
Overrides:
getChildren in class NodeImplBase

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

scope

public void scope(Scope scope)

getQualifiedName

public String getQualifiedName()

getSymbol

public JooSymbol getSymbol()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getImportKeyword

public JooSymbol getImportKeyword()

getIde

public Ide getIde()

getSymSemicolon

public JooSymbol getSymSemicolon()
null if not explicit

Returns:
the semicolon symbol

isExplicit

public boolean isExplicit()


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