Interface GenericNode<N extends GenericNode<N>>

All Known Implementing Classes:
GenericNode.MarkerNodeWrapper

public interface GenericNode<N extends GenericNode<N>>
Generalized MarkerNode for reusing psi interfaces in Producer, based on StringSlice.
  • Method Details

    • elementType

      @NotNull @NotNull IElementType elementType()
    • tokenText

      @NotNull @NotNull kala.text.StringSlice tokenText()
    • range

      @NotNull @NotNull com.intellij.openapi.util.TextRange range()
    • childrenView

      @NotNull @NotNull kala.collection.SeqView<N> childrenView()
    • toDebugString

      @NotNull @NonNls default @NotNull @NonNls String toDebugString()
    • is

      default boolean is(@NotNull @NotNull IElementType type)
    • is

      default boolean is(@NotNull @NotNull TokenSet tokenSet)
    • childrenOfType

      @NotNull default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull @NotNull IElementType type)
    • childrenOfType

      @NotNull default @NotNull kala.collection.SeqView<N> childrenOfType(@NotNull @NotNull TokenSet tokenSet)
    • peekChild

      @Nullable default N peekChild(@NotNull @NotNull IElementType type)
    • peekChild

      @Nullable default N peekChild(@NotNull @NotNull TokenSet tokenSet)
    • child

      @NotNull default N child(@NotNull @NotNull IElementType type)
    • child

      @NotNull default N child(@NotNull @NotNull TokenSet tokenSet)