Package org.ek9lang.compiler.phase3
Record Class StreamFunctionCheckData
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase3.StreamFunctionCheckData
record StreamFunctionCheckData(org.antlr.v4.runtime.Token errorLocation, FunctionSymbol functionSymbol, ISymbol currentStreamType)
extends Record
Used in Stream assembly processing to check function validity.
-
Constructor Summary
ConstructorDescriptionStreamFunctionCheckData
(org.antlr.v4.runtime.Token errorLocation, FunctionSymbol functionSymbol, ISymbol currentStreamType) Creates an instance of aStreamFunctionCheckData
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentStreamType
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.Returns the value of thefunctionSymbol
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StreamFunctionCheckData
StreamFunctionCheckData(org.antlr.v4.runtime.Token errorLocation, FunctionSymbol functionSymbol, ISymbol currentStreamType) Creates an instance of aStreamFunctionCheckData
record class.- Parameters:
errorLocation
- the value for theerrorLocation
record componentfunctionSymbol
- the value for thefunctionSymbol
record componentcurrentStreamType
- the value for thecurrentStreamType
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
-
functionSymbol
Returns the value of thefunctionSymbol
record component.- Returns:
- the value of the
functionSymbol
record component
-
currentStreamType
Returns the value of thecurrentStreamType
record component.- Returns:
- the value of the
currentStreamType
record component
-