Searched defs:SelectCase (Results 1 – 3 of 3) sorted by relevance
916 type SelectCase struct { struct917 Patterns []SelectPattern918 ColonPos scanner.Position919 Value Expression922 func (x *SelectCase) MarkReferencedVariables(scope *Scope) {926 func (c *SelectCase) Copy() *SelectCase {932 func (c *SelectCase) String() string {936 func (c *SelectCase) Pos() scanner.Position { return c.Patterns[0].Pos() }937 func (c *SelectCase) End() scanner.Position { return c.Value.End() }
3063 type SelectCase struct { struct3064 Dir SelectDir // direction of case3065 Chan Value // channel to use (for send or receive)3066 Send Value // value to send (for send)3077 func Select(cases []SelectCase) (chosen int, recv Value, recvOK bool) {
2100 func runSelect(cases []SelectCase, info []caseInfo) (chosen int, recv Value, recvOK bool, panicErr …