All pages
Powered by GitBook
1 of 10

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

WithDescription(string)

Method in DeclarationBuilder

Summary

Sets the Description of the Declaration .

public DeclarationBuilder WithDescription(string description)

Parameters

Name
Description

Returns

The instance that received this method call.

WithDefaultValue(System.IConvertible)

Method in DeclarationBuilder

Summary

Sets the DefaultValue of the Declaration .

public DeclarationBuilder WithDefaultValue(System.IConvertible defaultValue)

Parameters

Name
Description

Returns

The instance that received this method call.

WithRange(Yarn.Compiler.Range)

Method in DeclarationBuilder

Summary

Sets the Range of the Declaration .

public DeclarationBuilder WithRange(Yarn.Compiler.Range range)

Parameters

Name
Description

Returns

The instance that received this method call.

Declaration

Property in

Summary

Gets the instance constructed by this .

string description

The description to apply to the Declaration.

DeclarationBuilder

System.IConvertible defaultValue

The default value to apply to the Declaration.

DeclarationBuilder

Yarn.Compiler.Range range

The range to apply to the Declaration.

DeclarationBuilder
public Declaration Declaration { get; };
DeclarationBuilder
Declaration
DeclarationBuilder

WithType(IType)

Method in DeclarationBuilder

Summary

Sets the Type of the Declaration .

public DeclarationBuilder WithType(IType type)

Parameters

Name
Description

Returns

The instance that received this method call.

WithName(string)

Method in DeclarationBuilder

Summary

Sets the Name of the Declaration .

public DeclarationBuilder WithName(string name)

Parameters

Name
Description

Returns

The instance that received this method call.

WithSourceFileName(string)

Method in

Summary

Sets the of the .

WithSourceNodeName(string)

Method in

Summary

Sets the of the .

Yarn.IType type

The type to apply to the Declaration.

DeclarationBuilder

string name

The name to apply to the Declaration.

DeclarationBuilder
Parameters
Name
Description

string sourceFileName

The source file name to apply to the Declaration.

Returns

The DeclarationBuilder instance that received this method call.

public DeclarationBuilder WithSourceFileName(string sourceFileName)
DeclarationBuilder
SourceFileName
Declaration
Parameters
Name
Description

string sourceNodeName

The source node name to apply to the Declaration.

Returns

The DeclarationBuilder instance that received this method call.

public DeclarationBuilder WithSourceNodeName(string sourceNodeName)
DeclarationBuilder
SourceNodeName
Declaration

DeclarationBuilder

Class in

Inherits from System.Object

Summary

Provides methods for constructing objects.

WithImplicit(bool)

Method in

Summary

Sets the of the .

Parameters
Name
Description

bool isImplicit

The is-implicit value to apply to the Declaration.

Returns

The DeclarationBuilder instance that received this method call.

public DeclarationBuilder WithImplicit(bool isImplicit)
DeclarationBuilder
IsImplicit
Declaration
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 Declaration property to get the final, constructed Declaration .

Methods

Name
Description

Sets the of the .

Sets the of the .

Sets the of the .

Sets the of the .

Sets the of the .

Properties

Name
Description

Gets the instance constructed by this .

Yarn.Compiler
Declaration
public class DeclarationBuilder

WithSourceFileName(string)

Sets the SourceFileName of the Declaration .

WithSourceNodeName(string)

Sets the SourceNodeName of the Declaration .

WithType(IType)

Sets the Type of the Declaration .

WithDefaultValue(System.IConvertible)
DefaultValue
Declaration
WithDescription(string)
Description
Declaration
WithImplicit(bool)
IsImplicit
Declaration
WithName(string)
Name
Declaration
WithRange(Yarn.Compiler.Range)
Range
Declaration
Declaration
Declaration
DeclarationBuilder