Method in FunctionTypeBuilder
Adds a new parameter of type parameterType
to the FunctionType .
parameterType
The type of the new parameter to add to the function.
The FunctionTypeBuilder instance that received this method call.
Property in FunctionTypeBuilder
Gets the FunctionType instance constructed by this FunctionTypeBuilder .
Method in FunctionTypeBuilder
Sets the ReturnType of the FunctionType .
returnType
The return type to apply to the function.
The FunctionTypeBuilder instance that received this method call.
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 .
Adds a new parameter of type parameterType
to the .
Sets the of the .
Gets the instance constructed by this .