golang.org/x/mod/modfile.LineBlock.Token (field)
17 uses
golang.org/x/mod/modfile (current package)
print.go#L144: p.tokens(x.Token)
read.go#L117: if stmt.Token[0] == tokens[0] {
read.go#L148: block := &LineBlock{Token: stmt.Token[:1], Line: []*Line{stmt}}
read.go#L158: if stmt.Token[0] != tokens[0] {
read.go#L169: if stmt.Token[0] != tokens[0] {
read.go#L233: Token: stringsAdd(stmt.Token, stmt.Line[0].Token),
read.go#L290: Token []string
read.go#L832: Token: tokens,
read.go#L855: Token: token,
rule.go#L161: if len(x.Token) > 1 {
rule.go#L166: Err: fmt.Errorf("unknown block type: %s", strings.Join(x.Token, " ")),
rule.go#L171: switch x.Token[0] {
rule.go#L177: Err: fmt.Errorf("unknown block type: %s", strings.Join(x.Token, " ")),
rule.go#L183: f.add(&errs, x, l, x.Token[0], l.Token, fix, strict)
rule.go#L785: if len(stmt.Token) > 0 && stmt.Token[0] == "require" {
rule.go#L944: if block.Token[0] == "retract" {
 |
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. |