Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 559 for Selections (0.17 sec)

  1. src/go/types/selection.go

    func (s *Selection) Recv() Type { return s.recv }
    
    // Obj returns the object denoted by x.f; a *Var for
    // a field selection, and a *Func in all other cases.
    func (s *Selection) Obj() Object { return s.obj }
    
    // Type returns the type of x.f, which may be different from the type of f.
    // See Selection for more information.
    func (s *Selection) Type() Type {
    	switch s.kind {
    	case MethodVal:
    		// The type of x.f is a method with its receiver type set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/selection.go

    // previous (implicit) operations are always field selections.
    // Each element of Indices specifies an implicit field (a, b, c)
    // by its index in the struct type of the field selection operand.
    //
    // For a FieldVal operation, the final selection refers to the field
    // specified by Selection.Obj.
    //
    // For a MethodVal operation, the final selection refers to a method.
    // If the "pointerness" of the method's declared receiver does not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencyArtifactSelector.java

     * limitations under the License.
     */
    package org.gradle.api.artifacts;
    
    import javax.annotation.Nullable;
    
    /**
     * Details about an artifact selection in the context of a dependency substitution.
     *
     * Artifact selections are handy as a migration path from the Maven or Ivy ecosystem,
     * where different "variants" are actually represented as different artifacts, with
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go

    	}
    
    	var obj types.Object
    	switch fun := fun.(type) {
    	case *ast.Ident:
    		obj = info.Uses[fun] // type, var, builtin, or declared func
    	case *ast.SelectorExpr:
    		if sel, ok := info.Selections[fun]; ok {
    			obj = sel.Obj() // method or field
    		} else {
    			obj = info.Uses[fun.Sel] // qualified identifier?
    		}
    	}
    	if _, ok := obj.(*types.TypeName); ok {
    		return nil // T(x) is a conversion, not a call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/go/types/self_test.go

    			info = &Info{
    				Types:      make(map[ast.Expr]TypeAndValue),
    				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),
    			}
    		}
    		if _, err := conf.Check(path, fset, files, info); err != nil {
    			b.Fatal(err)
    		}
    	}
    	b.StopTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/types2/self_test.go

    				Types:      make(map[syntax.Expr]TypeAndValue),
    				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),
    			}
    		}
    		if _, err := conf.Check(path, files, info); err != nil {
    			b.Fatal(err)
    		}
    	}
    	b.StopTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/model.go

    	VirtualService []config.Config
    	// AllowedReferences stores all allowed references, from Reference -> to Reference(s)
    	AllowedReferences AllowedReferences
    	// ReferencedNamespaceKeys stores the label key of all namespace selections. This allows us to quickly
    	// determine if a namespace update could have impacted any Gateways. See namespaceEvent.
    	ReferencedNamespaceKeys sets.String
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top