Interface FunctionCall
- All Known Implementing Classes:
FunctionCall.Logical, FunctionCall.Nodes, FunctionCall.Value
public sealed interface FunctionCall
permits FunctionCall.Value, FunctionCall.Logical, FunctionCall.Nodes
A function expression (RFC 9535, Section 2.4). The record type gives the declared result type
of the function, so that the expression can only occur where that type is well-typed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA call of a function with the result type LogicalType.static final recordA call of a function with the result type NodesType.static final recordA call of a function with the result type ValueType. -
Method Summary
Modifier and TypeMethodDescriptionReturns the arguments.name()Returns the function name.default FunctionTypeReturns the declared result type of the function.
-
Method Details
-
name
-
arguments
-
resultType
Returns the declared result type of the function.- Returns:
- the declared result type
-