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

16 lines
368 B
C#

namespace TLang.Parser
{
public class EachLoopNode : Node
{
public SymbolNode Name {get;set;}
public Node Itterator {get;set;}
public Node Body {get;set;}
public EachLoopNode(SymbolNode varNode, Node expr, Node node)
{
Name = varNode;
Itterator = expr;
Body = node;
}
}
}