public abstract static class SyntaxTraverser.Api<T> extends java.lang.Object implements Function<T,java.lang.Iterable<? extends T>>
Function.First<P>, Function.FirstInCollection<P>, Function.InstanceOf<P,R extends P>, Function.Mono<T>
Modifier and Type | Field and Description |
---|---|
Function<T,TextRange> |
TO_RANGE |
Function<T,java.lang.CharSequence> |
TO_TEXT |
Function<T,IElementType> |
TO_TYPE |
Constructor and Description |
---|
Api() |
Modifier and Type | Method and Description |
---|---|
abstract JBIterable<? extends T> |
children(T node) |
JBIterable<? extends T> |
fun(T t) |
abstract T |
parent(T node) |
JBIterable<T> |
parents(T element) |
abstract TextRange |
rangeOf(T node) |
abstract java.lang.CharSequence |
textOf(T node) |
abstract IElementType |
typeOf(T node) |
public final Function<T,IElementType> TO_TYPE
public abstract IElementType typeOf(T node)
public abstract java.lang.CharSequence textOf(T node)
public abstract JBIterable<? extends T> children(T node)
public JBIterable<? extends T> fun(T t)
public JBIterable<T> parents(T element)