- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for pushText (0.05 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy
when: lexer.pushText("<P></End>") lexer.visit(visitor) then: 1 * visitor.onStartHtmlElement('p') 1 * visitor.onStartHtmlElementComplete('p') 1 * visitor.onEndHtmlElement('end') 1 * visitor.onEnd() 0 * visitor._ } def parsesHtmlEntities() { when: lexer.pushText("before & after") 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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
* </ul> */ class JavadocScanner { private final StringBuilder input = new StringBuilder(); private int pos; private int markPos; JavadocScanner(String rawCommentText) { pushText(rawCommentText); } @Override public String toString() { return input.substring(pos); } public boolean isEmpty() { return pos == input.length(); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java
} private final JavadocScanner scanner; BasicJavadocLexer(JavadocScanner scanner) { this.scanner = scanner; } public void pushText(String rawCommentText) { scanner.pushText(rawCommentText); } @Override public void visit(TokenVisitor visitor) { while (!scanner.isEmpty()) { if (scanner.lookingAt(START_HTML_COMMENT)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.1K bytes - Viewed (0)