9 references to Children
CSharpSyntaxGenerator (9)
Grammar\GrammarGenerator.cs (7)
30if (type is Node && type.Children.Count > 0) 42if (type.Children.First() is Field firstField && firstField.Kinds.Count > 0) 45if (type.Children.Count >= 2 && type.Children.Last() is Field lastField && lastField.Kinds.Count == firstField.Kinds.Count) 52rules[type.Name].Add(Sequence(type.Children.Select(ToProduction))); 60rules[type.Name].Add(Sequence(type.Children.Select(ToProduction))); 66rules[type.Name].Add(Sequence(type.Children.Select(ToProduction)));
TreeFlattening.cs (2)
19FlattenChildren(node.Children, node.Fields, makeOptional: false); 22FlattenChildren(node.Children, node.Fields, makeOptional: false);