Class IncludeNode
- Namespace
- EzrSquared.Runtime.Nodes
- Assembly
- ezrSquared-lib.dll
The Node structure for an include expression.
public record IncludeNode : Node
- Inheritance
-
objectIncludeNode
- Inherited Members
Constructors
IncludeNode(Node, Node?, bool, Node?, Position, Position)
The Node structure for an include expression.
public IncludeNode(Node Script, Node? SubStructure, bool IsDumped, Node? Nickname, Position StartPosition, Position EndPosition)
Parameters
Script
NodeThe script to include.
SubStructure
NodeThe (optional) specific sub-structure or object to be included from the script.
IsDumped
boolSpecifies if all contents of the script need to be dumped into the current context.
Nickname
NodeThe (optional) nickname of the object to be included.
StartPosition
PositionThe starting Position of the IncludeNode.
EndPosition
PositionThe ending Position of the IncludeNode.
Properties
IsDumped
Specifies if all contents of the script need to be dumped into the current context.
public bool IsDumped { get; init; }
Property Value
- bool
Nickname
The (optional) nickname of the object to be included.
public Node? Nickname { get; init; }
Property Value
Script
The script to include.
public Node Script { get; init; }
Property Value
SubStructure
The (optional) specific sub-structure or object to be included from the script.
public Node? SubStructure { get; init; }