Module aya.ij.parsing.core
Package com.intellij.psi.builder
Record Class GenericNode.MarkerNodeWrapper
java.lang.Object
java.lang.Record
com.intellij.psi.builder.GenericNode.MarkerNodeWrapper
- All Implemented Interfaces:
GenericNode<GenericNode.MarkerNodeWrapper>
- Enclosing interface:
- GenericNode<N extends GenericNode<N>>
public static record GenericNode.MarkerNodeWrapper(@NotNull MarkerNode node, @NotNull kala.text.StringSlice tokenText)
extends Record
implements GenericNode<GenericNode.MarkerNodeWrapper>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.intellij.psi.builder.GenericNode
GenericNode.MarkerNodeWrapper -
Constructor Summary
ConstructorsConstructorDescriptionMarkerNodeWrapper(@NotNull MarkerNode node, @NotNull kala.text.StringSlice tokenText) Creates an instance of aMarkerNodeWrapperrecord class.MarkerNodeWrapper(@NotNull String code, @NotNull MarkerNode node) -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.collection.SeqView<GenericNode.MarkerNodeWrapper>@NotNull IElementTypefinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull MarkerNodenode()Returns the value of thenoderecord component.@NotNull com.intellij.openapi.util.TextRangerange()@NotNull String@NotNull kala.text.StringSliceReturns the value of thetokenTextrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.intellij.psi.builder.GenericNode
child, child, childrenOfType, childrenOfType, is, is, peekChild, peekChild
-
Constructor Details
-
MarkerNodeWrapper
-
MarkerNodeWrapper
public MarkerNodeWrapper(@NotNull @NotNull MarkerNode node, @NotNull @NotNull kala.text.StringSlice tokenText) Creates an instance of aMarkerNodeWrapperrecord class.- Parameters:
node- the value for thenoderecord componenttokenText- the value for thetokenTextrecord component
-
-
Method Details
-
elementType
- Specified by:
elementTypein interfaceGenericNode<GenericNode.MarkerNodeWrapper>
-
childrenView
- Specified by:
childrenViewin interfaceGenericNode<GenericNode.MarkerNodeWrapper>
-
range
@NotNull public @NotNull com.intellij.openapi.util.TextRange range()- Specified by:
rangein interfaceGenericNode<GenericNode.MarkerNodeWrapper>
-
toDebugString
- Specified by:
toDebugStringin interfaceGenericNode<GenericNode.MarkerNodeWrapper>
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
node
Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
tokenText
@NotNull public @NotNull kala.text.StringSlice tokenText()Returns the value of thetokenTextrecord component.- Specified by:
tokenTextin interfaceGenericNode<GenericNode.MarkerNodeWrapper>- Returns:
- the value of the
tokenTextrecord component
-