golang.org/x/mod/modfile.Replace.Syntax (field)
9 uses
golang.org/x/mod/modfile (current package)
rule.go#L77: Syntax *Line
rule.go#L368: Syntax: line,
rule.go#L879: f.Syntax.updateLine(r.Syntax, tokens...)
rule.go#L884: f.Syntax.removeLine(r.Syntax)
rule.go#L888: hint = r.Syntax
rule.go#L892: f.Replace = append(f.Replace, &Replace{Old: old, New: new, Syntax: f.Syntax.addLine(hint, tokens...)})
rule.go#L900: f.Syntax.removeLine(r.Syntax)
rule.go#L990: kill[x.Syntax] = true
rule.go#L997: if !kill[x.Syntax] {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |