@Beta
public interface Tree
| Modifier and Type | Interface and Description |
|---|---|
static class |
Tree.Kind |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
Stream<Tree> |
childrenStream() |
Stream<JavaScriptTree> |
descendants() |
SyntaxToken |
firstToken() |
boolean |
is(Kinds... kind) |
boolean |
isAncestorOf(Tree tree) |
SyntaxToken |
lastToken() |
Tree |
parent() |
boolean is(Kinds... kind)
SyntaxToken lastToken()
SyntaxToken firstToken()
void accept(DoubleDispatchVisitor visitor)
boolean isAncestorOf(Tree tree)
Stream<JavaScriptTree> descendants()
Tree parent()
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.