Record Class CheckOperatorData
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase3.CheckOperatorData
record CheckOperatorData(ISymbol symbol, IToken operatorUseToken, MethodSymbolSearch search)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCheckOperatorData(ISymbol symbol, IToken operatorUseToken, MethodSymbolSearch search) Creates an instance of aCheckOperatorDatarecord 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.Returns the value of theoperatorUseTokenrecord component.search()Returns the value of thesearchrecord component.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckOperatorData
CheckOperatorData(ISymbol symbol, IToken operatorUseToken, MethodSymbolSearch search) Creates an instance of aCheckOperatorDatarecord class.- Parameters:
symbol- the value for thesymbolrecord componentoperatorUseToken- the value for theoperatorUseTokenrecord componentsearch- the value for thesearchrecord 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). -
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
operatorUseToken
Returns the value of theoperatorUseTokenrecord component.- Returns:
- the value of the
operatorUseTokenrecord component
-
search
Returns the value of thesearchrecord component.- Returns:
- the value of the
searchrecord component
-