DeclarationBuilder
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Class in Yarn.Compiler
Inherits from System.Object
Provides methods for constructing Declaration objects.
public class DeclarationBuilder
To use this class, create an instance of it, and call theWith
-prefixed methods to set properties. When you're done, access
the Declaration property to get the final, constructedDeclaration .
Sets the DefaultValue of the Declaration .
Sets the Description of the Declaration .
Sets the IsImplicit of the Declaration .
Sets the Name of the Declaration .
Sets the Range of the Declaration .
Sets the SourceFileName of the Declaration .
Sets the SourceNodeName of the Declaration .
Sets the Type of the Declaration .
Gets the Declaration instance constructed by this DeclarationBuilder .