Record Class AnchorIndexer.AnchorTarget
java.lang.Object
java.lang.Record
guideme.compiler.AnchorIndexer.AnchorTarget
- Enclosing class:
AnchorIndexer
public static record AnchorIndexer.AnchorTarget(LytNode blockNode, @Nullable LytFlowContent flowContent)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAnchorTarget(LytNode blockNode, @Nullable LytFlowContent flowContent) Creates an instance of aAnchorTargetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockNoderecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable LytFlowContentReturns the value of theflowContentrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnchorTarget
Creates an instance of aAnchorTargetrecord class.- Parameters:
blockNode- the value for theblockNoderecord componentflowContent- the value for theflowContentrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
blockNode
Returns the value of theblockNoderecord component.- Returns:
- the value of the
blockNoderecord component
-
flowContent
Returns the value of theflowContentrecord component.- Returns:
- the value of the
flowContentrecord component
-