Searched defs:ChanType (Results 1 – 4 of 4) sorted by relevance
293 type ChanType struct { struct294 Type295 Elem *Type296 Dir ChanDir
470 ChanType struct { struct471 Begin token.Pos // position of "chan" keyword or "<-" (whichever comes first)472 Arrow token.Pos // position of "<-" (token.NoPos if there is no "<-")473 Dir ChanDir // channel direction474 Value Expr // value type512 func (x *ChanType) Pos() token.Pos { return x.Begin }546 func (x *ChanType) End() token.Pos { return x.Value.End() }573 func (*ChanType) exprNode() {}
308 ChanType struct { struct309 Dir ChanDir // 0 means no direction310 Elem Expr311 expr
27 var ChanType *types.Type var