Home
last modified time | relevance | path

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

/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/ir/
Dstmt.go179 type CaseClause struct { struct
180 miniStmt
181 Var *Name // declared variable for this case in type switch
182 List Nodes // list of expressions for switch, early select
192 RTypes Nodes
194 Body Nodes
471 func NewSwitchStmt(pos src.XPos, tag Node, cases []*CaseClause) *SwitchStmt {
Dnode_gen.go1715 func copyCaseClauses(list []*CaseClause) []*CaseClause {
1723 func doCaseClauses(list []*CaseClause, do func(Node) bool) bool {
1731 func editCaseClauses(list []*CaseClause, edit func(Node) Node) {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/
Dreturn.go88 func (check *Checker) isTerminatingSwitch(body []*syntax.CaseClause, label string) bool {
168 func hasBreakCaseList(list []*syntax.CaseClause, label string, implicit bool) bool {
Dstmt.go124 func (check *Checker) multipleSwitchDefaults(list []*syntax.CaseClause) {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/
Dast.go705 CaseClause struct { struct
706 Case token.Pos // position of "case" or "default" keyword
707 List []Expr // list of expressions or types; nil means default case
708 Colon token.Pos // position of ":"
709 Body []Stmt // statement list; or nil
779 func (s *CaseClause) Pos() token.Pos { return s.Case }
831 func (s *CaseClause) End() token.Pos {
865 func (*CaseClause) stmtNode() {}
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
Dnodes.go444 CaseClause struct { struct
445 Cases Expr // nil means default clause
446 Body []Stmt
447 Colon Pos
448 node