Property in FunctionTypeBuilder
Gets the FunctionType instance constructed by this FunctionTypeBuilder .
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 .
returnType | The return type to apply to the function. |
parameterType | The type of the new parameter to add to the function. |