Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in Declaration
The string used for SourceFileName if the Declaration was found outside of a Yarn source file.
Class in Yarn.Compiler
Inherits from System.Object
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Method in Declaration
Creates a new instance of the Declaration class, using the given name, type and default value.
Name | Description |
---|---|
A new instance of the Declaration class.
The string used for SourceFileName if the Declaration was found outside of a Yarn source file.
Creates a new instance of the Declaration class, using the given name, type and default value.
Gets the default value of this Declaration , if no value has been specified in code or is available from a Dialogue 's IVariableStorage .
Gets a string describing the purpose of this Declaration .
Gets a value indicating whether get or sets a value indicating whether this Declaration was implicitly inferred from usage.
Gets the name of this Declaration.
Gets the range of text at which this declaration occurs.
Gets the line number at which this Declaration was found in the source file.
Gets the name of the file in which this Declaration was found.
Gets the name of the node in which this Declaration was found.
Gets the type of the variable, as represented by an object that implements IType .
string
name
The name of the new declaration.
Yarn.IType type
The type of the declaration.
System.IConvertible
defaultValue
The default value of the declaration. This must be a string, a number (integer or floating-point), or boolean value.
string
description
The description of the new declaration.
object
obj
Property in Declaration
Gets the type of the variable, as represented by an object that implements IType .
Property in Declaration
Gets the name of the node in which this Declaration was found.
If this Declaration was not found in a Yarn source file, this will be null
.