Home
last modified time | relevance | path

Searched defs:TypeSwitchStmt (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/
Dast.go721 TypeSwitchStmt struct { struct
722 Switch token.Pos // position of "switch" keyword
723 Init Stmt // initialization statement; or nil
724 Assign Stmt // x := y.(type) or y.(type)
725 Body *BlockStmt // CaseClauses only
781 func (s *TypeSwitchStmt) Pos() token.Pos { return s.Switch }
838 func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
867 func (*TypeSwitchStmt) stmtNode() {}