Package net.jangaroo.jooc.ast
Class ImportDirective
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.Directive
-
- net.jangaroo.jooc.ast.ImportDirective
-
-
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 ImportDirective(Ide packageIde, String typeName)ImportDirective(JooSymbol importKeyword, Ide ide, JooSymbol symSemicolon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)booleanequals(Object o)List<? extends AstNode>getChildren()IdegetIde()JooSymbolgetImportKeyword()StringgetQualifiedName()JooSymbolgetSymbol()JooSymbolgetSymSemicolon()null if not explicitinthashCode()booleanisExplicit()voidscope(Scope scope)StringtoString()voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, 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
- Throws:
IOException
-
scope
public void scope(Scope scope)
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classNodeImplBase
-
getQualifiedName
public String getQualifiedName()
-
getSymbol
public JooSymbol getSymbol()
-
getImportKeyword
public JooSymbol getImportKeyword()
-
getIde
public Ide getIde()
-
getSymSemicolon
public JooSymbol getSymSemicolon()
null if not explicit- Returns:
- the semicolon symbol
-
isExplicit
public boolean isExplicit()
-
-