Searched defs:ImportSpec (Results 1 – 6 of 6) sorted by relevance
886 ImportSpec struct { struct887 Doc *CommentGroup // associated documentation; or nil888 Name *Ident // local package name (including "."); or nil889 Path *BasicLit // import path890 Comment *CommentGroup // line comments; or nil891 EndPos token.Pos // end of spec (overrides Path.Pos if nonzero)918 func (s *ImportSpec) Pos() token.Pos {927 func (s *ImportSpec) End() token.Pos {947 func (*ImportSpec) specNode() {}
409 func importName(s *ast.ImportSpec) string {418 func importPath(s *ast.ImportSpec) string {
509 func findImportGroupStarts(imps []*ast.ImportSpec) []token.Pos {519 func findImportGroupStarts1(origImps []*ast.ImportSpec) []*ast.ImportSpec {
373 func imported(info *types.Info, spec *ast.ImportSpec) *types.Package {
504 func importedPkgName(info *types.Info, imp *ast.ImportSpec) (*types.PkgName, bool) {
309 func importPath(s *ast.ImportSpec) string {