type go/ast.IfStmt
16 uses
go/ast (current package)
ast.go#L687: IfStmt struct {
ast.go#L768: func (s *IfStmt) Pos() token.Pos { return s.If }
ast.go#L815: func (s *IfStmt) End() token.Pos {
ast.go#L855: func (*IfStmt) stmtNode() {}
walk.go#L226: case *IfStmt:
go/parser
parser.go#L1901: func (p *parser) parseIfStmt() *ast.IfStmt {
parser.go#L1930: return &ast.IfStmt{If: pos, Init: init, Cond: cond, Body: body, Else: else_}
go/printer
nodes.go#L1325: case *ast.IfStmt:
nodes.go#L1332: case *ast.BlockStmt, *ast.IfStmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1865: func encode_ast_IfStmt(e *codec.Encoder, x *ast.IfStmt) {
encode_ast.gen.go#L1892: func decode_ast_IfStmt(d *codec.Decoder, p **ast.IfStmt) {
encode_ast.gen.go#L1898: *p = ref.(*ast.IfStmt)
encode_ast.gen.go#L1901: var x ast.IfStmt
encode_ast.gen.go#L1927: codec.Register(&ast.IfStmt{},
encode_ast.gen.go#L1928: func(e *codec.Encoder, x interface{}) { encode_ast_IfStmt(e, x.(*ast.IfStmt)) },
encode_ast.gen.go#L1930: var x *ast.IfStmt
 |
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. |