18 lines
298 B
C#
18 lines
298 B
C#
|
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;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|