Package ghidra.pcode.exec
Record Class SleighUtils.SleighParseErrorEntry
java.lang.Object
java.lang.Record
ghidra.pcode.exec.SleighUtils.SleighParseErrorEntry
- Record Components:
header- the header / title for the messagemessage- the detail messagestart- the character position where the syntax error startsstop- the character position where the syntax error ends
- Enclosing class:
SleighUtils
public static record SleighUtils.SleighParseErrorEntry(String header, String message, int start, int stop)
extends Record
A Sleigh parsing error
-
Constructor Summary
ConstructorsConstructorDescriptionSleighParseErrorEntry(String header, String message, int start, int stop) Creates an instance of aSleighParseErrorEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.message()Returns the value of themessagerecord component.intstart()Returns the value of thestartrecord component.intstop()Returns the value of thestoprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
fullMessage
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
start
public int start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
stop
public int stop()Returns the value of thestoprecord component.- Returns:
- the value of the
stoprecord component
-