/** Used by Template.Add() to Add args one by one w/o turning on full formal args definition signal */ public virtual void AddArgument(FormalArgument a) { if (FormalArguments == null) { FormalArguments = new List <FormalArgument>(); } a.Index = FormalArguments.Count; FormalArguments.Add(a); if (a.DefaultValueToken != null) { _numberOfArgsWithDefaultValues++; } }
public void AddArguement(Node node) { FormalArguments.Add(node); }