java.lang.Object
java.lang.Record
org.aya.cli.literate.HighlightInfo.SymError
- All Implemented Interfaces:
HighlightInfo.HighlightSymbol
- Enclosing class:
HighlightInfo
public static record HighlightInfo.SymError(@NotNull org.aya.generic.AyaDocile docile)
extends Record
implements HighlightInfo.HighlightSymbol
An error element
-
Constructor Summary
ConstructorsConstructorDescriptionSymError(@NotNull org.aya.generic.AyaDocile docile) Creates an instance of aSymErrorrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull org.aya.generic.AyaDociledocile()Returns the value of thedocilerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.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 org.aya.cli.literate.HighlightInfo.HighlightSymbol
toInfo
-
Constructor Details
-
SymError
public SymError(@NotNull @NotNull org.aya.generic.AyaDocile docile) Creates an instance of aSymErrorrecord class.- Parameters:
docile- the value for thedocilerecord component
-
-
Method Details
-
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). -
docile
@NotNull public @NotNull org.aya.generic.AyaDocile docile()Returns the value of thedocilerecord component.- Returns:
- the value of the
docilerecord component
-