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

16 lines
368 B
C#
Raw Normal View History

2023-07-27 03:31:32 +00:00
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;
}
}
}