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