4 references to GetChildIndex
CSharpSyntaxGenerator (4)
SourceWriter.cs (4)
867WriteLine($"return slot != null ? new SyntaxToken(this, slot, {GetChildPosition(i)}, {GetChildIndex(i)}) : default;");
873WriteLine($" => new SyntaxToken(this, ((InternalSyntax.{node.Name})this.Green).{CamelCase(field.Name)}, {GetChildPosition(i)}, {GetChildIndex(i)});");
884WriteLine($"return slot != null ? new SyntaxTokenList(this, slot, {GetChildPosition(i)}, {GetChildIndex(i)}) : default;");
905WriteLine($"return red != null ? new {field.Type}(red, {GetChildIndex(i)}) : default;");