14 using System.Collections.Generic;
17 using Irony.Interpreter;
20 namespace Irony.Interpreter.Ast {
25 base.Init(context, treeNode);
26 foreach (var child
in treeNode.ChildNodes) {
27 AddChild(
"parameter", child);
29 AsString =
"Param list";
33 var argsObj = context.Data.Pop();
37 if (args.Count != ChildNodes.Count)
40 for(
int i = 0; i < ChildNodes.Count; i++) {
41 context.Data.Push(args[i]);
42 ChildNodes[i].Evaluate(context, AstMode.Write);
static string ErrArgListNotFound
Looks up a localized string similar to Argument list not found in the stack. Expected: ValueList...
override void Init(ParsingContext context, ParseTreeNode treeNode)
static string ErrWrongArgCount
Looks up a localized string similar to Invalid number of arguments. Expected {0}, found {1}...
override void EvaluateNode(EvaluationContext context, AstMode mode)