Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

FunctionTypeBuilder

Class in Yarn.Compiler
Inherits from System.Object

Summary

Provides methods for constructing FunctionType objects.
public class FunctionTypeBuilder

Remarks

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 .

Methods

Name
Description
Adds a new parameter of type parameterType to the FunctionType .
Sets the ReturnType of the FunctionType .

Properties

Name
Description
Gets the FunctionType instance constructed by this FunctionTypeBuilder .