Declaration
Class in Yarn.Compiler
Inherits from System.Object
Summary
Represents a variable declaration
public class Declaration
Fields
Methods
Properties
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.
Last updated
Was this helpful?