Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Obexer (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

     */
    public class HtmlToXmlJavadocLexer implements JavadocLexer {
        private final JavadocLexer lexer;
        private final Set<String> blockElements = new HashSet<String>();
        private final Set<String> blockContent = new HashSet<String>();
    
        public HtmlToXmlJavadocLexer(JavadocLexer lexer) {
            this.lexer = lexer;
            blockElements.add("p");
            blockElements.add("pre");
            blockElements.add("ul");
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import javassist.CtClass
    import javassist.CtConstructor
    import javassist.CtField
    import javassist.CtMember
    import javassist.CtMethod
    import org.jetbrains.kotlin.kdoc.psi.api.KDoc
    import org.jetbrains.kotlin.lexer.KtTokens
    import org.jetbrains.kotlin.psi.KtClassOrObject
    import org.jetbrains.kotlin.psi.KtConstructor
    import org.jetbrains.kotlin.psi.KtDeclaration
    import org.jetbrains.kotlin.psi.KtFile
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            "text<h2>header</h2>text"   | "<p>text</p><h2>header</h2><p>text</p>"
        }
    
        def parse(String source) {
            def lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(source)))
            def result = new StringBuilder()
            lexer.visit(new JavadocLexer.TokenVisitor() {
                @Override
                void onStartHtmlElement(String name) {
                    result.append("<$name")
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

        }
    
        private DocCommentImpl parse(String rawCommentText, ClassMetaData classMetaData,
                                     CommentSource inheritedCommentSource, GenerationListener listener) {
            JavadocLexer lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(rawCommentText)));
            DocBookBuilder nodes = new DocBookBuilder(document);
    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)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            when:
            lexer.pushText("a << b")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onText('a << b')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def javadocTagCanContainEOLChars() {
            when:
            lexer.pushText(" * {@link #Something(Object,\n * String\n * }")
            lexer.visit(visitor)
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook;
    
    public interface JavadocLexer {
        /**
         * Visits the tokens in the input stream for this lexer. Reads to the end of the input.
         */
        void visit(TokenVisitor visitor);
    
        class TokenVisitor {
            void onStartHtmlElement(String name) {
            }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
Back to top