示例#1
0
 private void Validate(IHasOperators holder, IList <IOperator> operators)
 {
     holder.Operators.Clear();
 }
示例#2
0
 public static IEnumerable <SyntaxNode> GetOperNodes(this SyntaxGenerator gen, IHasOperators holder)
 => holder.Operators.OfType <IHasSyntaxNodes>().SelectMany(n => n.GetNodes(gen));