type go/ast.Stmt
54 uses
go/ast (current package)
ast.go#L45: type Stmt interface {
ast.go#L618: Stmt Stmt
ast.go#L682: List []Stmt
ast.go#L689: Init Stmt // initialization statement; or nil
ast.go#L692: Else Stmt // else branch; or nil
ast.go#L700: Body []Stmt // statement list; or nil
ast.go#L706: Init Stmt // initialization statement; or nil
ast.go#L714: Init Stmt // initialization statement; or nil
ast.go#L715: Assign Stmt // x := y.(type) or y.(type)
ast.go#L722: Comm Stmt // send or receive statement; nil means default case
ast.go#L724: Body []Stmt // statement list; or nil
ast.go#L736: Init Stmt // initialization statement; or nil
ast.go#L738: Post Stmt // post iteration statement; or nil
commentmap.go#L234: case *File, *Field, Decl, Spec, Stmt:
walk.go#L30: func walkStmtList(v Visitor, list []Stmt) {
go/parser
parser.go#L1074: func (p *parser) parseStmtList() (list []ast.Stmt) {
parser.go#L1669: func (p *parser) parseSimpleStmt(mode int) (ast.Stmt, bool) {
parser.go#L1759: func (p *parser) parseGoStmt() ast.Stmt {
parser.go#L1774: func (p *parser) parseDeferStmt() ast.Stmt {
parser.go#L1823: func (p *parser) makeExpr(s ast.Stmt, want string) ast.Expr {
parser.go#L1841: func (p *parser) parseIfHeader() (init ast.Stmt, cond ast.Expr) {
parser.go#L1861: var condStmt ast.Stmt
parser.go#L1913: var else_ ast.Stmt
parser.go#L1978: func (p *parser) isTypeSwitchGuard(s ast.Stmt) bool {
parser.go#L1999: func (p *parser) parseSwitchStmt() ast.Stmt {
parser.go#L2008: var s1, s2 ast.Stmt
parser.go#L2042: var list []ast.Stmt
parser.go#L2064: var comm ast.Stmt
parser.go#L2122: var list []ast.Stmt
parser.go#L2133: func (p *parser) parseForStmt() ast.Stmt {
parser.go#L2142: var s1, s2, s3 ast.Stmt
parser.go#L2216: func (p *parser) parseStmt() (s ast.Stmt) {
go/printer
nodes.go#L1076: func (p *printer) stmtList(list []ast.Stmt, nindent int, nextIsRBrace bool) {
nodes.go#L1164: func (p *printer) controlClause(isForStmt bool, init ast.Stmt, expr ast.Expr, post ast.Stmt) {
nodes.go#L1233: func (p *printer) stmt(stmt ast.Stmt, nextIsRBrace bool) {
printer.go#L1129: case ast.Stmt:
printer.go#L1140: case []ast.Stmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L810: x.Comm = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L1455: x.Init = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L1459: x.Post = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L1912: x.Init = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L1918: x.Else = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L2302: x.Stmt = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L3054: x.Init = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L3261: x.Init = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L3263: x.Assign = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L3502: func encode_slice_ast_Stmt(e *codec.Encoder, s []ast.Stmt) {
encode_ast.gen.go#L3513: func decode_slice_ast_Stmt(d *codec.Decoder, p *[]ast.Stmt) {
encode_ast.gen.go#L3518: s := make([]ast.Stmt, n)
encode_ast.gen.go#L3520: s[i] = d.DecodeAny().(ast.Stmt)
encode_ast.gen.go#L3526: codec.Register([]ast.Stmt(nil),
encode_ast.gen.go#L3527: func(e *codec.Encoder, x interface{}) { encode_slice_ast_Stmt(e, x.([]ast.Stmt)) },
encode_ast.gen.go#L3528: func(d *codec.Decoder) interface{} { var x []ast.Stmt; decode_slice_ast_Stmt(d, &x); return x })
 |
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. |