public ArgumentList(Parser yyp, Argument a) : base((yyp)) { AddArgument(a); }
public ArgumentList(Parser yyp, ArgumentList al, Argument a) : base((yyp)) { while (0 < al.kids.Count) kids.Add(al.kids.Pop()); AddArgument(a); }
private void AddArgument(Argument a) { if (a is ExpressionArgument) while (0 < a.kids.Count) kids.Add(a.kids.Pop()); else kids.Add(a); }