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

16 lines
370 B
C#

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);
}
}
}