Property in FunctionTypeBuilder
Gets the FunctionType instance constructed by this FunctionTypeBuilder .
Method in FunctionTypeBuilder
Adds a new parameter of type parameterType
to the FunctionType .
The FunctionTypeBuilder instance that received this method call.
Name | Description |
---|---|
Yarn.IType parameterType
The type of the new parameter to add to the function.
Class in Yarn.Compiler
Inherits from System.Object
Provides methods for constructing FunctionType objects.
To use this class, create an instance of it, and call the With
-prefixed methods to set properties. When you're done, access the FunctionType property to get the final, constructed FunctionType .
Name | Description |
---|---|
Name | Description |
---|---|
Adds a new parameter of type parameterType
to the FunctionType .
Sets the ReturnType of the FunctionType .
Gets the FunctionType instance constructed by this FunctionTypeBuilder .
Method in FunctionTypeBuilder
Sets the ReturnType of the FunctionType .
The FunctionTypeBuilder instance that received this method call.
Name | Description |
---|---|
Yarn.IType returnType
The return type to apply to the function.