- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 159 for Selections (0.17 sec)
-
src/go/types/api.go
// *ast.Field anonymous parameter *Var (incl. unnamed results) // Implicits map[ast.Node]Object // Selections maps selector expressions (excluding qualified identifiers) // to their corresponding selections. Selections map[*ast.SelectorExpr]*Selection // Scopes maps ast.Nodes to the scopes they define. Package scopes are not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// *syntax.Field anonymous parameter *Var (incl. unnamed results) // Implicits map[syntax.Node]Object // Selections maps selector expressions (excluding qualified identifiers) // to their corresponding selections. Selections map[*syntax.SelectorExpr]*Selection // Scopes maps syntax.Nodes to the scopes they define. Package scopes are not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/go/types/eval_test.go
expr, err := parser.ParseExprFrom(fset, "eval", str, 0) if err != nil { return nil, err } info := &Info{ Uses: make(map[*ast.Ident]Object), Selections: make(map[*ast.SelectorExpr]*Selection), } if err := CheckExpr(fset, pkg, pos, expr, info); err != nil { return nil, fmt.Errorf("CheckExpr(%q) failed: %s", str, err) } switch expr := expr.(type) { case *ast.Ident:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
sel := call.Fun.(*syntax.SelectorExpr) use := info.Uses[sel.Sel].(*Func) selection := info.Selections[sel] if selection.Kind() != MethodVal { t.Errorf("Selection kind = %v, want %v", selection.Kind(), MethodVal) } if selection.Obj() != use { t.Errorf("info.Selections contains %v, want %v", selection.Obj(), use) } switch sel.Sel.Value { case "m": dmm = use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
sel := call.Fun.(*ast.SelectorExpr) use := info.Uses[sel.Sel].(*Func) selection := info.Selections[sel] if selection.Kind() != MethodVal { t.Errorf("Selection kind = %v, want %v", selection.Kind(), MethodVal) } if selection.Obj() != use { t.Errorf("info.Selections contains %v, want %v", selection.Obj(), use) } switch sel.Sel.Name { case "m": dmm = use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
Uses: make(map[*ast.Ident]types.Object), Implicits: make(map[ast.Node]types.Object), Instances: make(map[*ast.Ident]types.Instance), Scopes: make(map[ast.Node]*types.Scope), Selections: make(map[*ast.SelectorExpr]*types.Selection), } versions.InitFileVersions(info) pkg, err := tc.Check(cfg.ImportPath, fset, files, info) if err != nil { if cfg.SucceedOnTypecheckFailure {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/go/types/check_test.go
Instances: make(map[*ast.Ident]Instance), Defs: make(map[*ast.Ident]Object), Uses: make(map[*ast.Ident]Object), Implicits: make(map[ast.Node]Object), Selections: make(map[*ast.SelectorExpr]*Selection), Scopes: make(map[ast.Node]*Scope), FileVersions: make(map[*ast.File]string), } // typecheck conf.Check(pkgName, fset, files, &info) if listErrors { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
Instances: make(map[*syntax.Name]Instance), Defs: make(map[*syntax.Name]Object), Uses: make(map[*syntax.Name]Object), Implicits: make(map[syntax.Node]Object), Selections: make(map[*syntax.SelectorExpr]*Selection), Scopes: make(map[syntax.Node]*Scope), FileVersions: make(map[*syntax.PosBase]string), } // typecheck conf.Check(pkgName, files, &info) if listErrors { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
assert(obj != nil && (recv == nil || len(index) > 0)) check.recordUse(x.Sel, obj) if m := check.Selections; m != nil { m[x] = &Selection{kind, recv, obj, index, indirect} } } func (check *Checker) recordScope(node syntax.Node, scope *Scope) { assert(node != nil) assert(scope != nil) if m := check.Scopes; m != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/go/types/check.go
assert(obj != nil && (recv == nil || len(index) > 0)) check.recordUse(x.Sel, obj) if m := check.Selections; m != nil { m[x] = &Selection{kind, recv, obj, index, indirect} } } func (check *Checker) recordScope(node ast.Node, scope *Scope) { assert(node != nil) assert(scope != nil) if m := check.Scopes; m != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0)