Record Class IndentLevels.Levels
java.lang.Object
java.lang.Record
org.ek9lang.compiler.formatter.IndentLevels.Levels
- Record Components:
byLine- line number to the indent level of its first token, for every line holding a token.bracketInterior- lines whose first token is inside ( [ {: kept as written.
- Enclosing class:
IndentLevels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebracketInteriorrecord component.byLine()Returns the value of thebyLinerecord 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.
-
Constructor Details
-
Levels
-
-
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). -
byLine
-
bracketInterior
Returns the value of thebracketInteriorrecord component.- Returns:
- the value of the
bracketInteriorrecord component
-