Record Class PostPassSites.DefaultOperatorSite
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase2.PostPassSites.DefaultOperatorSite
- Enclosing class:
PostPassSites
static record PostPassSites.DefaultOperatorSite(EK9Parser.DefaultOperatorContext ctx, IAggregateSymbol aggregate, ParsedModule parsedModule)
extends Record
A bare 'default operator' and the class, record, component or dynamic class that declares it.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOperatorSite(EK9Parser.DefaultOperatorContext ctx, IAggregateSymbol aggregate, ParsedModule parsedModule) Creates an instance of aDefaultOperatorSiterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregaterecord component.ctx()Returns the value of thectxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparsedModulerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DefaultOperatorSite
DefaultOperatorSite(EK9Parser.DefaultOperatorContext ctx, IAggregateSymbol aggregate, ParsedModule parsedModule) Creates an instance of aDefaultOperatorSiterecord class.- Parameters:
ctx- the value for thectxrecord componentaggregate- the value for theaggregaterecord componentparsedModule- the value for theparsedModulerecord 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). -
ctx
Returns the value of thectxrecord component.- Returns:
- the value of the
ctxrecord component
-
aggregate
Returns the value of theaggregaterecord component.- Returns:
- the value of the
aggregaterecord component
-
parsedModule
Returns the value of theparsedModulerecord component.- Returns:
- the value of the
parsedModulerecord component
-