public abstract class JavaScriptTree extends Object implements Tree
| Constructor and Description |
|---|
JavaScriptTree() |
| Modifier and Type | Method and Description |
|---|---|
abstract Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
getFirstToken() |
abstract Tree.Kind |
getKind() |
SyntaxToken |
getLastToken() |
int |
getLine() |
boolean |
is(Tree.Kind... kind) |
boolean |
isLeaf() |
public int getLine()
public abstract Tree.Kind getKind()
public abstract Iterator<Tree> childrenIterator()
null elements.UnsupportedOperationException - if isLeaf() returns truepublic boolean isLeaf()
public SyntaxToken getLastToken()
public SyntaxToken getFirstToken()
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.