Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for onEndHtmlElement (0.11 sec)

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

            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('p')
            1 * visitor.onStartHtmlElementComplete('p')
            1 * visitor.onText(' text ')
            1 * visitor.onEndHtmlElement('p')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def normalizesHtmlElementNamesToLowercase() {
            when:
            lexer.pushText("<P></End>")
            lexer.visit(visitor)
    
    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

                if (elementStack.contains(element)) {
                    while (!elementStack.getFirst().equals(element)) {
                        visitor.onEndHtmlElement(elementStack.removeFirst());
                    }
                    elementStack.removeFirst();
                    visitor.onEndHtmlElement(element);
                }
            }
    
            private void unwindTo(Collection<String> ancestors, TokenVisitor visitor) {
    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/BasicJavadocLexer.java

            scanner.mark();
            scanner.find(END_ELEMENT_NAME);
            String elementName = scanner.region().toLowerCase(Locale.ROOT);
            if (isEnd) {
                visitor.onEndHtmlElement(elementName);
            } else {
                visitor.onStartHtmlElement(elementName);
            }
    
            // attributes
            scanner.skip(WHITESPACE_WITH_EOL);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

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

                }
    
                @Override
                void onStartHtmlElementComplete(String name) {
                    result.append(">")
                }
    
                @Override
                void onEndHtmlElement(String name) {
                    result.append("</$name>")
                }
    
                @Override
                void onText(String text) {
                    result.append(text)
                }
            })
    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

                        tagStack.addFirst(name);
                        return;
                    }
                }
                throw new UnsupportedOperationException();
            }
    
            @Override
            void onEndHtmlElement(String name) {
                if (!tagStack.isEmpty() && tagStack.getFirst().equals(name)) {
                    tagStack.removeFirst();
                    handlerStack.removeFirst().onEndElement(name);
                }
    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