Package org.ek9lang.compiler.phase3
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
ConstructorDescriptionStreamAggregateCheckData
(org.antlr.v4.runtime.Token errorLocation, IAggregateSymbol aggregateSymbol, ISymbol symbolType) Creates an instance of aStreamAggregateCheckData
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateSymbol
record component.final boolean
Indicates whether some other object is "equal to" this one.org.antlr.v4.runtime.Token
Returns the value of theerrorLocation
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thesymbolType
record component.final String
toString()
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 aStreamAggregateCheckData
record class.- Parameters:
errorLocation
- the value for theerrorLocation
record componentaggregateSymbol
- the value for theaggregateSymbol
record componentsymbolType
- the value for thesymbolType
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 theerrorLocation
record component.- Returns:
- the value of the
errorLocation
record component
-
aggregateSymbol
Returns the value of theaggregateSymbol
record component.- Returns:
- the value of the
aggregateSymbol
record component
-
symbolType
Returns the value of thesymbolType
record component.- Returns:
- the value of the
symbolType
record component
-