Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for parser (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

        @TaskAction
        public void process() {
            MutableDataSet options = new MutableDataSet();
            options.set(Parser.EXTENSIONS, Collections.singletonList(TablesExtension.create()));
            Parser parser = Parser.builder(options).build();
            HtmlRenderer renderer = HtmlRenderer.builder(options).build();
            File markdownFile = getMarkdownFile().get().getAsFile();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                        errMsg += " (You may need to remove the leading `javadoc` path component)";
                    }
                    errorsForFile.add(new Error(lineNumber, line, errMsg));
                }
                // TODO: Also parse the HTML in the javadoc file to check if the specific method is present
            }
        }
    
        private boolean fileContainsText(File referencedFile, String text) {
            try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import org.gradle.internal.UncheckedException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    
    public class ClassDocExtensionsBuilder {
        private final DslDocModel model;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        }
    
        @Override
        public void execute(ViolationCheckContext context) {
            List<UpgradedProperty> currentUpgradedProperties = UpgradedProperties.parse(params.get(CURRENT_UPGRADED_PROPERTIES_KEY));
            List<UpgradedProperty> baselineUpgradedProperties = UpgradedProperties.parse(params.get(BASELINE_UPGRADED_PROPERTIES_KEY));
            context.putUserData(CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocCommentBuilder.java

            this.listener = listener;
        }
    
        /**
         * Builds the class comment for the given class.
         */
        void build(ClassDoc classDoc) {
            classDoc.setComment(javadocConverter.parse(classDoc.getClassMetaData(), listener).getDocbook());
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                    additionalValues.put(attributeDoc.getKey(), attributeDoc);
                }
                PropertyDoc propertyDoc = new PropertyDoc(property, javadocConverter.parse(property, listener).getDocbook(), new ArrayList<ExtraAttributeDoc>(additionalValues.values()));
                if (propertyDoc.getDescription() == null) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                    sub.include("**/*.adoc");
                    // Flatten adocs into a single directory
                    sub.eachFile(fcd -> fcd.setRelativePath(RelativePath.parse(true, fcd.getName())));
                });
    
                // From the snippets and the samples, filter out files generated if the build contained was ever executed
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                throw new GradleException("filter isn't ready to transform");
            }
    
            Document document = Jsoup.parse(CharStreams.toString(in));
            document.outputSettings().indentAmount(2).prettyPrint(true);
            document.prependChild(new DocumentType("html", "", ""));
            document.head().
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            this.linkConverter = linkConverter;
        }
    
        public DocComment parse(ClassMetaData classMetaData, GenerationListener listener) {
            listener.start(String.format("class %s", classMetaData));
            try {
                String rawCommentText = classMetaData.getRawCommentText();
                try {
                    return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener);
                } catch (Exception e) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                for (MethodMetaData method : methods) {
                    DocComment docComment = javadocConverter.parse(method, listener);
                    MethodDoc methodDoc = new MethodDoc(method, docComment.getDocbook());
                    if (methodDoc.getDescription() == null) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Viewed (0)
Back to top