Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for onStartHtmlElementComplete (0.17 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            1 * visitor.onStartHtmlElementComplete('a')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def splitsHtmlElementWithNoContentIntoSeparateStartAndEndTokens() {
            when:
            lexer.pushText("<p/>")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('p')
            1 * visitor.onStartHtmlElementComplete('p')
            1 * visitor.onEndHtmlElement('p')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

            }
    
            @Override
            public void onHtmlElementAttribute(String name, String value) {
                attributes.put(name, value);
            }
    
            @Override
            public void onStartHtmlElementComplete(String name) {
                if (name.equals("li")) {
                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

        class TokenVisitor {
            void onStartHtmlElement(String name) {
            }
    
            void onHtmlElementAttribute(String name, String value) {
            }
    
            void onStartHtmlElementComplete(String name) {
            }
    
            void onEndHtmlElement(String name) {
            }
    
            void onStartJavadocTag(String name) {
            }
    
            void onEndJavadocTag(String name) {
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                visitor.onHtmlElementAttribute(attrName, attrValue.toString());
                scanner.next();
                scanner.skip(WHITESPACE_WITH_EOL);
            }
    
            if (!isEnd) {
                visitor.onStartHtmlElementComplete(elementName);
            }
    
            // end element marker
            if (scanner.lookingAt('/')) {
                visitor.onEndHtmlElement(elementName);
            }
            scanner.skip(END_ELEMENT);
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

                @Override
                void onHtmlElementAttribute(String name, String value) {
                    result.append(" $name='$value'")
                }
    
                @Override
                void onStartHtmlElementComplete(String name) {
                    result.append(">")
                }
    
                @Override
                void onEndHtmlElement(String name) {
                    result.append("</$name>")
                }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            @Override
            void onHtmlElementAttribute(String name, String value) {
                attributes.put(name, value);
            }
    
            @Override
            void onStartHtmlElementComplete(String name) {
                for (HtmlElementHandler handler : elementHandlers) {
                    if (handler.onStartElement(name, attributes)) {
                        handlerStack.addFirst(handler);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
Back to top