go/ast.TypeAssertExpr.Rparen (field)
7 uses
go/ast (current package)
ast.go#L359: Rparen token.Pos // position of ")"
ast.go#L517: func (x *TypeAssertExpr) End() token.Pos { return x.Rparen + 1 }
go/parser
parser.go#L1211: return &ast.TypeAssertExpr{X: x, Type: typ, Lparen: lparen, Rparen: rparen}
go/printer
nodes.go#L828: p.print(x.Rparen, token.RPAREN)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3094: if x.Rparen != 0 {
encode_ast.gen.go#L3096: e.EncodeInt(int64(x.Rparen))
encode_ast.gen.go#L3125: x.Rparen = token.Pos(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. |