Searched defs:CommClause (Results 1 – 7 of 7) sorted by relevance
204 type CommClause struct { struct205 miniStmt206 Comm Node // communication case207 Body Nodes439 func NewSelectStmt(pos src.XPos, cases []*CommClause) *SelectStmt {
1739 func copyCommClauses(list []*CommClause) []*CommClause {1747 func doCommClauses(list []*CommClause, do func(Node) bool) bool {1755 func editCommClauses(list []*CommClause, edit func(Node) Node) {
729 CommClause struct { struct730 Case token.Pos // position of "case" or "default" keyword731 Comm Stmt // send or receive statement; nil means default case732 Colon token.Pos // position of ":"733 Body []Stmt // statement list; or nil782 func (s *CommClause) Pos() token.Pos { return s.Case }839 func (s *CommClause) End() token.Pos {868 func (*CommClause) stmtNode() {}
451 CommClause struct { struct452 Comm SimpleStmt // send or receive stmt; nil means default clause453 Body []Stmt454 Colon Pos455 node
33 func walkSelectCases(cases []*ir.CommClause) []ir.Node {
177 func hasBreakCommList(list []*syntax.CommClause, label string, implicit bool) bool {
138 func (check *Checker) multipleSelectDefaults(list []*syntax.CommClause) {