Esempio n. 1
0
        /** 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++;
            }
        }
Esempio n. 2
0
 public void AddArguement(Node node)
 {
     FormalArguments.Add(node);
 }