Program
Class in Yarn
Inherits from System.Object
Summary
A compiled Yarn program.
public class ProgramMethods
| Name | Description |
|---|---|
| GetVariableKind(string) | Gets a value indicating the kind of variable name represents. |
| LineIDsForNode(string) | Identifies and returns a list of all line and option IDs inside the node. |
| ToString() | |
| TryGetInitialValue | Attempts to fetch a value for a variable named variableName from this program’s collection of initial values. |
Properties
| Name | Description |
|---|---|
| InitialValues | The collection of initial values for variables; if a PUSH_VARIABLE instruction is run, and the value is not found in the storage, this value will be used |
| Name | The name of the program. |
| Nodes | The collection of nodes in this program. |