Searched defs:typeDesc (Results 1 – 3 of 3) sorted by relevance
15 type typeDesc struct { struct16 Names []string17 CanBeTypedef bool // can be type alias target?18 CantBeOpt bool // can't be marked as opt?19 NeedBase bool // needs base type when used as field?20 AllowColon bool // allow colon (int8:2) on fields?21 ResourceBase bool // can be resource base type?22 OptArgs int // number of optional arguments in Args array23 Args []namedArg // type arguments25 CanBeArgRet func(comp *compiler, t *ast.Type) (bool, bool)[all …]
713 func (comp *compiler) checkTypeBasic(t *ast.Type, desc *typeDesc, flags checkFlags) {746 func (comp *compiler) checkTypeArgs(t *ast.Type, desc *typeDesc, flags checkFlags) []*ast.Type {920 func expectedTypeArgs(desc *typeDesc, needBase bool) string {
148 void typeReference(String typeDesc) { in typeReference()158 checkArgument(typeDesc.length() == lpos + 1, typeDesc); in typeReference() local