go/ast.AssignStmt.Tok (field)
9 uses
go/ast (current package)
ast.go#L648: Tok token.Token // assignment token, DEFINE
go/parser
parser.go#L1695: as := &ast.AssignStmt{Lhs: x, TokPos: pos, Tok: tok, Rhs: y}
parser.go#L1986: switch t.Tok {
parser.go#L2090: as := &ast.AssignStmt{Lhs: lhs, TokPos: pos, Tok: tok, Rhs: []ast.Expr{rhs}}
parser.go#L2200: Tok: as.Tok,
go/printer
nodes.go#L1284: p.print(blank, s.TokPos, s.Tok, blank)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L90: if x.Tok != 0 {
encode_ast.gen.go#L92: e.EncodeInt(int64(x.Tok))
encode_ast.gen.go#L123: x.Tok = token.Token(d.DecodeInt())
 |
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. |