- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for blockDoc (0.14 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy
import org.w3c.dom.Element import gradlebuild.docs.dsl.source.model.TypeMetaData class BlockDoc implements DslElementDoc { private final MethodDoc blockMethod private final PropertyDoc blockProperty private final TypeMetaData type private boolean multiValued BlockDoc(MethodDoc blockMethod, PropertyDoc blockProperty, TypeMetaData type, boolean multiValued) { this.blockMethod = blockMethod
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java
for (BlockDoc blockDoc : classDoc.getClassBlocks()) { blockDetailRenderer.renderTo(blockDoc, detailsSection); } for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) { for (BlockDoc blockDoc : extensionDoc.getExtensionBlocks()) { blockDetailRenderer.renderTo(blockDoc, detailsSection); } }
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/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java
this.listener = listener; } public void renderTo(BlockDoc blockDoc, Element parent) { Document document = parent.getOwnerDocument(); Element section = document.createElement("section"); parent.appendChild(section); section.setAttribute("id", blockDoc.getId()); section.setAttribute("role", "detail");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java
td.appendChild(link); link.setAttribute("linkend", blockDoc.getId()); Element literal = document.createElement("literal"); link.appendChild(literal); literal.appendChild(document.createTextNode(blockDoc.getName())); td = document.createElement("td"); tr.appendChild(td); if (blockDoc.isDeprecated()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
String blockName = tr.td[0].text().trim() gradlebuild.docs.dsl.docbook.model.BlockDoc blockDoc = project.getBlock(blockName) tr.children = { td { link(linkend: blockDoc.id) { literal("$blockName { }")} } td(blockDoc.description) } } def mergeTypes(Element typeTable, DslDocModel model) { typeTable.addFirst {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
return methodDoc } def blockDoc(Map<String, ?> args = [:], String name) { BlockDoc blockDoc = Mock() PropertyDoc blockPropDoc = propertyDoc(name) _ * blockDoc.name >> name _ * blockDoc.id >> (args.id ?: name) _ * blockDoc.description >> parse("<para>${args.description ?: 'description'}</para>") _ * blockDoc.comment >> [parse("<para>${args.comment ?: 'comment'}</para>")]
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy
void addClassMethod(MethodDoc methodDoc) { classMethods.add(methodDoc.forClass(this)) } Collection<BlockDoc> getClassBlocks() { return classBlocks } void addClassBlock(BlockDoc blockDoc) { classBlocks.add(blockDoc.forClass(this)) } Collection<ClassExtensionDoc> getClassExtensions() { return classExtensions }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
* 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; import gradlebuild.docs.dsl.source.model.MethodMetaData;
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/dsl/docbook/ClassDocExtensionsBuilder.java
MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para)); extensionDoc.getExtraBlocks().add(new BlockDoc(methodDoc, propertyDoc, propertyMetaData.getType(), false)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0)