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
ScriptNodeThe script to include.
SubStructureNodeThe (optional) specific sub-structure or object to be included from the script.
IsDumpedboolSpecifies if all contents of the script need to be dumped into the current context.
NicknameNodeThe (optional) nickname of the object to be included.
StartPositionPositionThe starting Position of the IncludeNode.
EndPositionPositionThe 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; }