4 references to GetChildIndex
dotnet-razorsyntaxgenerator (4)
SourceWriter.cs (4)
963WriteLine($"return slot != null ? new SyntaxToken(this, slot, {GetChildPosition(i)}, {GetChildIndex(i)}) : default;"); 969WriteLine($" => new SyntaxToken(this, ((InternalSyntax.{node.Name})Green).{GetFieldName(field)}, {GetChildPosition(i)}, {GetChildIndex(i)});"); 982WriteLine($"return slot != null ? new SyntaxTokenList(this, slot, {GetChildPosition(i)}, {GetChildIndex(i)}) : default;"); 1004WriteLine($"return red != null ? new {field.Type}(red, {GetChildIndex(i)}) : default;");