- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for inScope (0.25 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy
def scopeAndType = ModelReference.of(String).inScope(ModelPath.path("scope")) Matchers.strictlyEquals(path, ModelReference.of("path")) Matchers.strictlyEquals(type, ModelReference.of(String)) Matchers.strictlyEquals(pathAndType, ModelReference.of("path", String)) Matchers.strictlyEquals(scopeAndType, type.inScope(ModelPath.path("scope"))) path != type
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt
ktClassOrObject.getClassId() == classId && ktClassOrObject.inScope } ?: emptyList() override fun getAllTypeAliasesByClassId(classId: ClassId): Collection<KtTypeAlias> = index.typeAliasMap[classId.packageFqName] ?.filter { ktTypeAlias -> ktTypeAlias.getClassId() == classId && ktTypeAlias.inScope } ?: emptyList()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 21.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy
binder { descriptor("ruleWithUnboundSubjectReference") subjectReference(ModelReference.of(String).inScope(ModelPath.path("some.scope"))) inputReference(String) inputReference(ModelReference.of(Boolean).inScope(ModelPath.path("other.scope"))) } expect: reportForProcessedBinders == reportFor(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy
} void inputReference(Class type) { inputReference(ModelReference.of(ModelType.of(type)).inScope(ModelPath.ROOT)) } void inputReference(Class type, ModelNode.State state) { inputReference(ModelReference.of(null, ModelType.of(type), state).inScope(ModelPath.ROOT)) } void inputReference(String path, ModelNode.State state) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy
} RuleBinder rule(Class subjectType, ModelNode.State targetState) { def builder = new RuleBinderTestBuilder() builder.subjectReference(ModelReference.of(null, ModelType.of(subjectType), targetState).inScope(ModelPath.ROOT)) builder.descriptor("rule with subject of type $subjectType.simpleName") return builder.build() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelActionBuilder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java
} public ModelNode.State getState() { return state; } public boolean isUntyped() { return type.equals(ModelType.UNTYPED); } public ModelReference<T> inScope(ModelPath scope) { if (scope.equals(this.scope)) { return this; } return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
if !strOk && !errOk { return "", false } // inScope returns true if e is in the scope of f. inScope := func(e ast.Expr, f *types.Func) bool { return f.Scope() != nil && f.Scope().Contains(e.Pos()) } // Is the expression e within the body of that String or Error method? var method *types.Func if strOk && strMethod.Pkg() == pass.Pkg && inScope(e, strMethod) { method = strMethod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
} else { inputs.set(i, input.inScope(ModelPath.ROOT)); } } } private ModelReference<?> mapSubject(ModelReference<?> subject, ModelPath targetPath) { if (subject.getPath() == null) { return subject.inScope(targetPath); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
for (ModelReference<?> input : inputs) { if (input.getPath() == null && input.getScope() == null) { result.add(new BindingPredicate(input.inScope(ModelPath.ROOT))); } else { result.add(new BindingPredicate(input)); } } return result.build(); } private class GoalGraph {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0)