net.jangaroo.jooc.ast
Class ImportDirective
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Directive
net.jangaroo.jooc.ast.ImportDirective
- All Implemented Interfaces:
- AstNode
public class ImportDirective
- extends Directive
- Author:
- Andreas Gawecki, Frank Wienberg
ImportDirective
public ImportDirective(Ide packageIde,
String typeName)
ImportDirective
public ImportDirective(JooSymbol importKeyword,
Ide ide,
JooSymbol symSemicolon)
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.