Lines Matching refs:Chan
1001 if p.tok == token.CHAN {
1010 p.expect(token.CHAN)
1036 case token.CHAN, token.ARROW:
1533 // If the next token is token.CHAN we still don't know if it
1544 // <- (chan type) => (<-chan type)
1545 // <- (chan<- type) => (<-chan (<-type))
1557 // error: (<-type) is (<-(<-chan T))
1558 p.errorExpected(typ.Arrow, "'chan'")
1722 return &ast.SendStmt{Chan: x[0], Arrow: arrow, Value: y}, false
2017 comm = &ast.SendStmt{Chan: lhs[0], Arrow: arrow, Value: rhs}
2167 token.LBRACK, token.STRUCT, token.MAP, token.CHAN, token.INTERFACE, // composite types