Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 257 for Implicits (0.12 sec)

  1. src/cmd/compile/internal/types2/check.go

    	assert(obj != nil)
    	if m := check.Uses; m != nil {
    		m[id] = obj
    	}
    }
    
    func (check *Checker) recordImplicit(node syntax.Node, obj Object) {
    	assert(node != nil)
    	assert(obj != nil)
    	if m := check.Implicits; m != nil {
    		m[node] = obj
    	}
    }
    
    func (check *Checker) recordSelection(x *syntax.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/go/types/check.go

    	assert(obj != nil)
    	if m := check.Uses; m != nil {
    		m[id] = obj
    	}
    }
    
    func (check *Checker) recordImplicit(node ast.Node, obj Object) {
    	assert(node != nil)
    	assert(obj != nil)
    	if m := check.Implicits; m != nil {
    		m[node] = obj
    	}
    }
    
    func (check *Checker) recordSelection(x *ast.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/go/types/return.go

    	case *ast.LabeledStmt:
    		return hasBreak(s.Stmt, label, implicit)
    
    	case *ast.BranchStmt:
    		if s.Tok == token.BREAK {
    			if s.Label == nil {
    				return implicit
    			}
    			if s.Label.Name == label {
    				return true
    			}
    		}
    
    	case *ast.BlockStmt:
    		return hasBreakList(s.List, label, implicit)
    
    	case *ast.IfStmt:
    		if hasBreak(s.Body, label, implicit) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/return.go

    		return hasBreak(s.Stmt, label, implicit)
    
    	case *syntax.BranchStmt:
    		if s.Tok == syntax.Break {
    			if s.Label == nil {
    				return implicit
    			}
    			if s.Label.Value == label {
    				return true
    			}
    		}
    
    	case *syntax.BlockStmt:
    		return hasBreakList(s.List, label, implicit)
    
    	case *syntax.IfStmt:
    		if hasBreak(s.Then, label, implicit) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

        /**
         * Returns the list of implicit smart-casts which are required for the expression to be called. Includes only implicit
         * smart-casts:
         *
         * ```kt
         * if (this is String) {
         *   this.substring() // 'this' receiver is explicit, so no implicit smart-cast here.
         *
         *   smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved.
         * }
         * ```
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 2
    
            def implicit = variants.first()
            implicit.displayName == displayName
            implicit.attributes == AttributeTestUtil.attributes(["thing": "value1"])
            implicit.artifacts == allArtifacts
    
            def explicit = (variants as List)[1]
            explicit.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceResolveMixIn.kt

        }
    
        /**
         * Checks if the reference is an implicit reference to a companion object via the containing class.
         *
         * Example:
         * ```
         * class A {
         *    companion object {
         *       fun foo() {}
         *    }
         * }
         * ```
         *
         * For the case provided, inside the call `A.foo()`,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 08:30:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

        override val type: KaType by validityAsserted(type)
    }
    
    /**
     * An implicit receiver. For example
     * ```
     * class A {
     *   val i: Int = 1
     *   fun test() {
     *     i // implicit receiver bound to class `A`
     *   }
     * }
     *
     * fun String.test() {
     *   length // implicit receiver bound to the `KaReceiverParameterSymbol` of type `String` declared by `test`.
     * }
     * ```
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ModuleDependency.java

        /**
         * <p>Adds an artifact to this dependency.</p>
         *
         * <p>If no artifact is added to a dependency, an implicit default artifact is used. This default artifact has the
         * same name as the module and its type and extension is {@code jar}. If at least one artifact is explicitly added,
         * the implicit default artifact won't be used any longer.</p>
         *
         * @return this
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 16:14:52 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

            }
        }
    
        /**
         * Returns the set of implicit selector names expected for any project for the target Gradle version.
         *
         * <p>Note that in some versions the handling of implicit selectors was broken, so this method may return a different value
         * to {@link #getImplicitTasks()}.
         */
        Set<String> getImplicitSelectors() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top