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

18 lines
298 B
C#
Raw Normal View History

2023-07-27 03:31:32 +00:00
using TLang.Lexer;
namespace TLang.Parser
{
public class CaseNode : Node
{
public Node Variable {get;set;}
public Node Body {get;set;}
public CaseNode(Node expr, Node node)
{
Variable = expr;
Body = node;
}
}
}