Record Class StreamAggregateCheckData
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase3.StreamAggregateCheckData
record StreamAggregateCheckData(org.antlr.v4.runtime.Token errorLocation, IAggregateSymbol aggregateSymbol, ISymbol symbolType)
extends Record
Used in Stream assembly processing to check aggregate use validity.
-
Constructor Summary
ConstructorsConstructorDescriptionStreamAggregateCheckData(org.antlr.v4.runtime.Token errorLocation, IAggregateSymbol aggregateSymbol, ISymbol symbolType) Creates an instance of aStreamAggregateCheckDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateSymbolrecord component.final booleanIndicates whether some other object is "equal to" this one.org.antlr.v4.runtime.TokenReturns the value of theerrorLocationrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesymbolTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StreamAggregateCheckData
StreamAggregateCheckData(org.antlr.v4.runtime.Token errorLocation, IAggregateSymbol aggregateSymbol, ISymbol symbolType) Creates an instance of aStreamAggregateCheckDatarecord class.- Parameters:
errorLocation- the value for theerrorLocationrecord componentaggregateSymbol- the value for theaggregateSymbolrecord componentsymbolType- the value for thesymbolTyperecord 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). -
errorLocation
public org.antlr.v4.runtime.Token errorLocation()Returns the value of theerrorLocationrecord component.- Returns:
- the value of the
errorLocationrecord component
-
aggregateSymbol
Returns the value of theaggregateSymbolrecord component.- Returns:
- the value of the
aggregateSymbolrecord component
-
symbolType
Returns the value of thesymbolTyperecord component.- Returns:
- the value of the
symbolTyperecord component
-