Record Class Ir.Position
java.lang.Object
java.lang.Record
org.clafer.frontend.Ir.Position
- Record Components:
file- the file nameline- the linecolumn- the column
- Enclosing class:
Ir
A position in a source file, as in the compiler's messages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Position
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
file
-
line
-
column
-