16 lines
328 B
C#
16 lines
328 B
C#
|
namespace TLang.Parser
|
||
|
{
|
||
|
internal class IfNode : Node
|
||
|
{
|
||
|
public Node Condition {get;set;}
|
||
|
public Node Yes {get;set;}
|
||
|
public Node No {get;set;}
|
||
|
|
||
|
public IfNode(Node cond, Node yes, Node no)
|
||
|
{
|
||
|
Condition = cond;
|
||
|
Yes = yes;
|
||
|
No = no;
|
||
|
}
|
||
|
}
|
||
|
}
|