Module aya.ij.parsing.wrapper
Package org.aya.intellij
Interface GenericNode<N extends GenericNode<N>>
- All Known Implementing Classes:
MarkerNodeWrapper
public interface GenericNode<N extends GenericNode<N>>
Generalized
MarkerNode
for reusing psi interfaces in Producer,
based on StringSlice.-
Method Summary
Modifier and TypeMethodDescriptiondefault Nchild(@NotNull com.intellij.psi.tree.IElementType type) default Nchild(@NotNull com.intellij.psi.tree.TokenSet tokenSet) default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull com.intellij.psi.tree.IElementType type) default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull com.intellij.psi.tree.TokenSet tokenSet) @NotNull kala.collection.SeqView<N> @NotNull com.intellij.psi.tree.IElementTypedefault Ndefault booleanis(@NotNull com.intellij.psi.tree.IElementType type) default booleanis(@NotNull com.intellij.psi.tree.TokenSet tokenSet) default NpeekChild(@NotNull com.intellij.psi.tree.IElementType type) default NpeekChild(@NotNull com.intellij.psi.tree.TokenSet tokenSet) @NotNull com.intellij.openapi.util.TextRangerange()default @NotNull @NonNls String@NotNull kala.text.StringSlice
-
Method Details
-
elementType
@NotNull @NotNull com.intellij.psi.tree.IElementType elementType() -
tokenText
@NotNull @NotNull kala.text.StringSlice tokenText() -
range
@NotNull @NotNull com.intellij.openapi.util.TextRange range() -
childrenView
-
toDebugString
-
is
default boolean is(@NotNull @NotNull com.intellij.psi.tree.IElementType type) -
is
default boolean is(@NotNull @NotNull com.intellij.psi.tree.TokenSet tokenSet) -
childrenOfType
@NotNull default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull @NotNull com.intellij.psi.tree.IElementType type) -
childrenOfType
@NotNull default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull @NotNull com.intellij.psi.tree.TokenSet tokenSet) -
firstChild
-
peekChild
-
peekChild
-
child
-
child
-