Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Property in Declaration
Gets the default value of this Declaration , if no value has been specified in code or is available from a Dialogue 's IVariableStorage .
Property in Declaration
Gets the collection of Declaration objects that this Declaration depends upon the value of.
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
Represents a variable declaration
Gets or sets the parser context for the initial value provided in this variable's 'declare' statement, if any. This is only valid for variable declarations, not functions (because functions don't have a value.)
Gets a value indicating whether this Declaration was implicitly inferred from usage.
Gets a value indicating that this Declaration does not refer to a stored variable, and instead represents an inline-expanded expression (a 'smart variable').
Gets a value indicating whether this Declaration represents a variable, and not a function.
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.
Method in Declaration
Creates a new instance of the Declaration class, using the given name, type and default value.
string
name
The name of the new declaration.
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.
A new instance of the Declaration class.
The string used for if the Declaration was found outside of a Yarn source file.
Creates a new instance of the class, using the given name, type and default value.
Gets the default value of this , if no value has been specified in code or is available from a 's .
Gets the collection of objects that this depends upon the value of.
Gets the collection of objects whose value depends upon this .
Gets a string describing the purpose of this .
Gets the type of the variable, as represented by an object that implements .