golang.org/x/mod/modfile.Require.Syntax (field)
17 uses
golang.org/x/mod/modfile (current package)
rule.go#L123: Syntax *Line
rule.go#L127: r.Syntax.markRemoved()
rule.go#L134: if line := r.Syntax; len(line.Token) > 0 {
rule.go#L155: line := r.Syntax
rule.go#L484: Syntax: line,
rule.go#L1178: f.Syntax.updateLine(r.Syntax, "require", AutoQuote(path), vers)
rule.go#L1181: r.Syntax.markRemoved()
rule.go#L1199: Syntax: line,
rule.go#L1299: if r.Syntax == nil {
rule.go#L1301: r.Syntax = line
rule.go#L1307: *line = *r.Syntax
rule.go#L1311: r.Syntax.Token = nil // Cleanup will delete the old line.
rule.go#L1312: r.Syntax = line
rule.go#L1326: lineIndirect[r.Syntax] = n.Indirect
rule.go#L1497: (simplify || oneFlatUncommentedBlock || lineToBlock[r.Syntax] == lastDirectBlock) {
rule.go#L1500: (simplify || oneFlatUncommentedBlock || lineToBlock[r.Syntax] == lastIndirectBlock) {
rule.go#L1533: r.Syntax.markRemoved()
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)