- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseNamedType (0.13 sec)
-
src/go/internal/gccgoimporter/parser.go
} } } // NamedType = TypeName [ "=" ] Type { Method } . // TypeName = ExportedName . // Method = "func" "(" Param ")" Name ParamList ResultList [InlineBody] ";" . func (p *parser) parseNamedType(nlist []any) types.Type { pkg, name := p.parseExportedName() scope := pkg.Scope() obj := scope.Lookup(name) if obj != nil && obj.Type() == nil { p.errorf("%v has nil type", obj) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0)