- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for ImportSpec (0.22 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"IfStmt.Cond", Field, 0}, {"IfStmt.Else", Field, 0}, {"IfStmt.If", Field, 0}, {"IfStmt.Init", Field, 0}, {"ImportSpec", Type, 0}, {"ImportSpec.Comment", Field, 0}, {"ImportSpec.Doc", Field, 0}, {"ImportSpec.EndPos", Field, 0}, {"ImportSpec.Name", Field, 0}, {"ImportSpec.Path", Field, 0}, {"Importer", Type, 0}, {"IncDecStmt", Type, 0}, {"IncDecStmt.Tok", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
case *ast.File: defer u.scoped()() for _, decl := range node.Decls { u.node(decl) } case *ast.GenDecl: for _, spec := range node.Specs { u.node(spec) } case *ast.ImportSpec: impPath, _ := strconv.Unquote(node.Path.Value) name := path.Base(impPath) u.scope.objects[name] = &object{ name: name, pos: node.Pos(), } case *ast.FuncDecl: u.node(node.Type)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
if x := f(g); x != nil { list = append(list, x) } return false }) } else { if x := f(nil); x != nil { list = append(list, x) } } return list } // ImportSpec = [ "." | PackageName ] ImportPath . // ImportPath = string_lit . func (p *parser) importDecl(group *Group) Decl { if trace { defer p.trace("importDecl")() } d := new(ImportDecl) d.pos = p.pos()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/printer/nodes.go
// multi-line identifier lists in the spec are indented when the first // linebreak is encountered. func (p *printer) spec(spec ast.Spec, n int, doIndent bool) { switch s := spec.(type) { case *ast.ImportSpec: p.setComment(s.Doc) if s.Name != nil { p.expr(s.Name) p.print(blank) } p.expr(sanitizeImportPath(s.Path)) p.setComment(s.Comment) p.setPos(s.EndPos)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
doc/go1.17_spec.html
The import names an identifier (PackageName) to be used for access and an ImportPath that specifies the package to be imported. </p> <pre class="ebnf"> ImportDecl = "import" ( ImportSpec | "(" { ImportSpec ";" } ")" ) . ImportSpec = [ "." | PackageName ] ImportPath . ImportPath = string_lit . </pre> <p> The PackageName is used in <a href="#Qualified_identifiers">qualified identifiers</a>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
The import names an identifier (PackageName) to be used for access and an ImportPath that specifies the package to be imported. </p> <pre class="ebnf"> ImportDecl = "import" ( ImportSpec | "(" { ImportSpec ";" } ")" ) . ImportSpec = [ "." | PackageName ] ImportPath . ImportPath = string_lit . </pre> <p> The PackageName is used in <a href="#Qualified_identifiers">qualified identifiers</a>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1) -
api/go1.txt
pkg go/ast, type IfStmt struct, Init Stmt pkg go/ast, type ImportSpec struct pkg go/ast, type ImportSpec struct, Comment *CommentGroup pkg go/ast, type ImportSpec struct, Doc *CommentGroup pkg go/ast, type ImportSpec struct, EndPos token.Pos pkg go/ast, type ImportSpec struct, Name *Ident pkg go/ast, type ImportSpec struct, Path *BasicLit pkg go/ast, type Importer func(map[string]*Object, string) (*Object, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)