- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 471 for closure (0.05 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
} public static void setChildren(Node element, Closure cl) { while (element.hasChildNodes()) { element.removeChild(element.getFirstChild()) } leftShift(element, cl) } public static def leftShift(Node parent, Closure cl) { DomBuilder builder = new DomBuilder(parent) cl.delegate = builder cl.call()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 15:32:19 UTC 2022 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy
when: def link = renderer.link(type('groovy.lang.Closure'), listener) then: format(link) == '<ulink url="https://docs.groovy-lang.org/groovyVersion/html/gapi/groovy/lang/Closure.html"><classname>Closure</classname></ulink>' } def rendersLinkToGroovyClassArray() { when: def link = renderer.link(type('groovy.lang.Closure', true), listener) then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/ClassMetaDataRepository.java
*/ package gradlebuild.docs.model; import groovy.lang.Closure; import org.gradle.api.UnknownDomainObjectException; public interface ClassMetaDataRepository<T> { T get(String fullyQualifiedClassName) throws UnknownDomainObjectException; T find(String fullyQualifiedClassName); void put(String fullyQualifiedClassName, T metaData); void each(Closure cl);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 989 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook; import groovy.lang.Closure; import gradlebuild.docs.dsl.docbook.model.BlockDoc; import gradlebuild.docs.dsl.docbook.model.ClassDoc; import gradlebuild.docs.dsl.docbook.model.MethodDoc; import gradlebuild.docs.dsl.docbook.model.PropertyDoc;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
ObjectOutputStream objOutputStream = new ObjectOutputStream(new BufferedOutputStream(outputStream)); objOutputStream.writeObject(classes); objOutputStream.close(); } finally { outputStream.close(); } } catch (IOException e) { throw new GradleException(String.format("Could not write meta-data to %s.", repoFile), e); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
return document ? document.importNode(parsed, true) : parsed } def formatTree(Closure cl) { withCategories { return formatTree(cl.call()) } } def withCategories(Closure cl) { use(BuildableDOMCategory) { return cl.call() } } def format(Node... nodes) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
MethodMetaData blockMethod = method('block', classMetaData, paramTypes: [Closure.class.name]) PropertyMetaData compositeBlockProperty = property('listBlock', classMetaData, type: new TypeMetaData('java.util.List').addTypeArg(new TypeMetaData('BlockType'))) MethodMetaData compositeBlockMethod = method('listBlock', classMetaData, paramTypes: [Closure.class.name])
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook; import groovy.lang.Closure; import gradlebuild.docs.dsl.docbook.model.*; import gradlebuild.docs.dsl.source.model.MethodMetaData; import gradlebuild.docs.dsl.source.model.PropertyMetaData; import gradlebuild.docs.dsl.source.model.TypeMetaData;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy
expect: typeNameResolver.resolve('Set', classMetaData) == 'java.util.Set' typeNameResolver.resolve('File', classMetaData) == 'java.io.File' typeNameResolver.resolve('Closure', classMetaData) == 'groovy.lang.Closure' typeNameResolver.resolve('BigDecimal', classMetaData) == 'java.math.BigDecimal' typeNameResolver.resolve('BigInteger', classMetaData) == 'java.math.BigInteger' }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6K bytes - Viewed (0)