public class ImportClauseTreeImpl extends JavaScriptTree implements ImportClauseTree
| Constructor and Description |
|---|
ImportClauseTreeImpl(DeclarationTree namedImport) |
ImportClauseTreeImpl(IdentifierTree defaultImport) |
ImportClauseTreeImpl(IdentifierTree defaultImport,
InternalSyntaxToken commaToken,
DeclarationTree namedImport) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
commaToken() |
IdentifierTree |
defaultImport() |
Tree.Kind |
getKind() |
DeclarationTree |
namedImport() |
getFirstToken, getLastToken, getLine, is, isLeafpublic ImportClauseTreeImpl(IdentifierTree defaultImport)
public ImportClauseTreeImpl(DeclarationTree namedImport)
public ImportClauseTreeImpl(IdentifierTree defaultImport, InternalSyntaxToken commaToken, DeclarationTree namedImport)
@Nullable public IdentifierTree defaultImport()
defaultImport in interface ImportClauseTree@Nullable public SyntaxToken commaToken()
commaToken in interface ImportClauseTree@Nullable public DeclarationTree namedImport()
namedImport in interface ImportClauseTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.