public string Dump(string tab) { StringBuilder dump = new StringBuilder(); dump.AppendLine($"{tab}(SEQUENCE ["); Statements.ForEach(c => dump.AppendLine($"{c.Dump(tab + "\t")},")); dump.AppendLine($"{tab}] )"); return(dump.ToString()); }
public void Assign(List <object> parameters) { Statements.ForEach(x => { if (x.Assign) { x.Exec(); } }); var constructor = Functions.Find(x => x.Identifier == Identifier); if (constructor != null) { Lib.AccessNewFunction(constructor, parameters); } }