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
ConstructorDescriptionSleighParseErrorEntry
(String header, String message, int start, int stop) Creates an instance of aSleighParseErrorEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.header()
Returns the value of theheader
record component.message()
Returns the value of themessage
record component.int
start()
Returns the value of thestart
record component.int
stop()
Returns the value of thestop
record component.final String
toString()
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 theheader
record component.- Returns:
- the value of the
header
record component
-
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
start
public int start()Returns the value of thestart
record component.- Returns:
- the value of the
start
record component
-
stop
public int stop()Returns the value of thestop
record component.- Returns:
- the value of the
stop
record component
-