tlang-runtime-compiler/TLang.Parser/ScopeNode.cs

16 lines
370 B
C#
Raw Normal View History

2023-07-27 03:31:32 +00:00
using System;
using System.Collections.Generic;
namespace TLang.Parser
{
public class ScopeNode : Node
{
public bool IsSwitchScope {get;set;}
public Node SwitchCondition {get;set;}=new Node();
public List<Node> Nodes {get;set;}=new List<Node>();
public void Add(Node node)
{
Nodes.Add(node);
}
}
}