type golang.org/x/mod/modfile.Line
61 uses
golang.org/x/mod/modfile (current package)
print.go#L150: case *Line:
read.go#L105: func (x *FileSyntax) addLine(hint Expr, tokens ...string) *Line {
read.go#L111: case *Line:
read.go#L125: newLineAfter := func(i int) *Line {
read.go#L126: new := &Line{Token: tokens}
read.go#L140: case *Line:
read.go#L148: block := &LineBlock{Token: stmt.Token[:1], Line: []*Line{stmt}}
read.go#L151: new := &Line{Token: tokens[1:], InBlock: true}
read.go#L162: new := &Line{Token: tokens[1:], InBlock: true}
read.go#L176: new := &Line{Token: tokens[1:], InBlock: true}
read.go#L185: new := &Line{Token: tokens}
read.go#L190: func (x *FileSyntax) updateLine(line *Line, tokens ...string) {
read.go#L199: func (line *Line) markRemoved() {
read.go#L213: case *Line:
read.go#L231: *stmt.Line[0] = Line{
read.go#L271: type Line struct {
read.go#L279: func (x *Line) Span() (start, end Position) {
read.go#L294: Line []*Line
read.go#L654: case *Line:
read.go#L814: in.file.Stmt = append(in.file.Stmt, &Line{
read.go#L899: func (in *input) parseLine() *Line {
read.go#L910: return &Line{
rule.go#L57: Syntax *Line
rule.go#L63: Syntax *Line
rule.go#L69: Syntax *Line
rule.go#L76: Syntax *Line
rule.go#L82: Syntax *Line
rule.go#L89: Syntax *Line
rule.go#L96: Syntax *Line
rule.go#L102: Syntax *Line
rule.go#L108: Syntax *Line
rule.go#L123: Syntax *Line
rule.go#L198: func isIndirect(line *Line) bool {
rule.go#L291: case *Line:
rule.go#L340: func (f *File) add(errs *ErrorList, block *LineBlock, line *Line, verb string, args []string, fix VersionFixer, strict bool) {
rule.go#L561: func parseReplace(filename string, line *Line, verb string, args []string, fix VersionFixer) (*Replace, *Error) {
rule.go#L681: func (f *WorkFile) add(errs *ErrorList, line *Line, verb string, args []string, fix VersionFixer) {
rule.go#L887: func parseDeprecation(block *LineBlock, line *Line) string {
rule.go#L899: func parseDirectiveComment(block *LineBlock, line *Line) string {
rule.go#L1298: var line *Line
rule.go#L1300: line = &Line{Token: []string{AutoQuote(r.Mod.Path), r.Mod.Version}}
rule.go#L1306: line = new(Line)
rule.go#L1323: lineIndirect := make(map[*Line]bool)
rule.go#L1347: lineToBlock = make(map[*Line]*LineBlock)
rule.go#L1353: case *Line:
rule.go#L1431: case *Line:
rule.go#L1434: Line: []*Line{stmt},
rule.go#L1547: var hint *Line
rule.go#L1588: var hint *Line
rule.go#L1763: kill := make(map[*Line]bool)
rule.go#L1844: case *Line:
rule.go#L1849: var lines []*Line
rule.go#L1867: func compareLine(li, lj *Line) int {
rule.go#L1877: func compareLineExclude(li, lj *Line) int {
rule.go#L1896: func compareLineRetract(li, lj *Line) int {
rule.go#L1897: interval := func(l *Line) VersionInterval {
work.go#L28: Syntax *Line
work.go#L52: case *Line:
work.go#L117: stmt := &Line{Token: []string{"go", version}}
work.go#L143: stmt := &Line{Token: []string{"toolchain", name}}
work.go#L153: if line, ok := f.Syntax.Stmt[i].(*Line); ok && len(line.Token) > 0 && line.Token[0] == "go" {