- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for visitValue (0.22 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTestUtil.kt
object DomTestUtil { fun printDomByTraversal( document: DeclarativeDocument, nodeFormatter: (DocumentNode) -> String, valueFormatter: (ValueNode) -> String ): String = buildString { fun visitValue(valueNode: ValueNode, indent: Int) { append(" ".repeat(indent * 4)) append(valueFormatter(valueNode)) } fun visitDocumentNode(documentNode: DocumentNode, indent: Int) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchy.java
return visitValues(location, new CollectingNodeAccessVisitor()); } /** * Visits all nodes which access the location. * * That includes node which access ancestors or children of the location. */ public <T> T visitNodesAccessing(String location, T initialValue, BiFunction<T, ? super Node, T> visitor) { return visitValues(location, new AbstractNodeAccessVisitor<T>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 12 20:10:34 UTC 2022 - 6.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/ValuedVfsHierarchyTest.groovy
def visitor = new CollectingValueVisitor() hierarchy.visitValues("", visitor) return visitor.allValues } static List<Integer> getValuesFor(ValuedVfsHierarchy<Integer> hierarchy, String location) { def visitor = new CollectingValueVisitor() hierarchy.visitValues(location, visitor) return visitor.allValues }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 28 17:21:57 UTC 2022 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/BuildInputHierarchy.java
/** * Returns whether the given location is an input to the build. */ public boolean isInput(String location) { InputDeclarationVisitor visitor = new InputDeclarationVisitor(); root.visitValues(location, visitor); return visitor.isInput(); } public boolean isEmpty() { return root.isEmpty(); } /** * Records that some locations are an input to the build.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/ValuedVfsHierarchy.java
return emptyHierarchy(caseSensitivity); } /** * Visits the values which are attached to ancestors and children of the given location. */ public void visitValues(String location, ValueVisitor<T> visitor) { VfsRelativePath relativePath = VfsRelativePath.of(location); if (relativePath.isEmpty()) { visitAllValues(visitor); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 28 17:23:29 UTC 2022 - 7.8K bytes - Viewed (0)