|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.javascript.model.TreeImpl
public abstract class TreeImpl
| Field Summary | |
|---|---|
com.sonar.sslr.api.AstNode |
astNode
|
| Constructor Summary | |
|---|---|
protected |
TreeImpl(com.sonar.sslr.api.AstNode astNode)
|
| Method Summary | ||
|---|---|---|
protected abstract void |
accept(VisitorsDispatcher visitors)
|
|
|
as(Class<T> cls)
|
|
int |
getLine()
|
|
|
is(Class<T> cls)
|
|
protected static void |
scan(List<? extends Tree> trees,
VisitorsDispatcher visitors)
|
|
protected static void |
scan(Tree tree,
VisitorsDispatcher visitors)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final com.sonar.sslr.api.AstNode astNode
| Constructor Detail |
|---|
protected TreeImpl(com.sonar.sslr.api.AstNode astNode)
| Method Detail |
|---|
public int getLine()
public final <T extends Tree> boolean is(Class<T> cls)
public final <T extends Tree> T as(Class<T> cls)
protected abstract void accept(VisitorsDispatcher visitors)
protected static final void scan(@Nullable
List<? extends Tree> trees,
VisitorsDispatcher visitors)
protected static final void scan(@Nullable
Tree tree,
VisitorsDispatcher visitors)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||