Record Class ArgumentDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.ArgumentDetails
public record ArgumentDetails(List<String> argumentVariables, List<String> parameterTypes, List<ISymbol> argumentSymbols)
extends Record
Holds argument processing results for method/function calls.
Used by CallInstrGenerator, FunctionCallProcessor, and ObjectAccessInstrGenerator.
This record consolidates the common pattern of collecting argument variables, parameter types, and argument symbols during call parameter processing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentSymbolsrecord component.Returns the value of theargumentVariablesrecord 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 theparameterTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArgumentDetails
public ArgumentDetails(List<String> argumentVariables, List<String> parameterTypes, List<ISymbol> argumentSymbols) Creates an instance of aArgumentDetailsrecord class.- Parameters:
argumentVariables- the value for theargumentVariablesrecord componentparameterTypes- the value for theparameterTypesrecord componentargumentSymbols- the value for theargumentSymbolsrecord 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). -
argumentVariables
-
parameterTypes
-
argumentSymbols
-