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