Record Class PureCheckData
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase3.PureCheckData
record PureCheckData(String errorMessage, IScopedSymbol superSymbol, IScopedSymbol thisSymbol)
extends Record
For doing pure checks on method and functions.
-
Constructor Summary
ConstructorsConstructorDescriptionPureCheckData(String errorMessage, IScopedSymbol superSymbol, IScopedSymbol thisSymbol) Creates an instance of aPureCheckDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesuperSymbolrecord component.Returns the value of thethisSymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PureCheckData
PureCheckData(String errorMessage, IScopedSymbol superSymbol, IScopedSymbol thisSymbol) Creates an instance of aPureCheckDatarecord class.- Parameters:
errorMessage- the value for theerrorMessagerecord componentsuperSymbol- the value for thesuperSymbolrecord componentthisSymbol- the value for thethisSymbolrecord component
-
-
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). -
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
superSymbol
Returns the value of thesuperSymbolrecord component.- Returns:
- the value of the
superSymbolrecord component
-
thisSymbol
Returns the value of thethisSymbolrecord component.- Returns:
- the value of the
thisSymbolrecord component
-