Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for visitDir (0.16 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            1 * visitor.visitText('<')
            1 * visitor.visitType('OtherType')
            1 * visitor.visitText('>')
            0 * visitor._
        }
    
        def visitsSignatureForWildcardType() {
            TypeMetaData.SignatureVisitor visitor = Mock()
            type.setWildcard()
    
            when:
            type.visitSignature(visitor)
    
            then:
            1 * visitor.visitText('?')
            0 * visitor._
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            1 * visitor.onEndHtmlElement('p')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def discardsHtmlComments() {
            when:
            lexer.pushText("<p><!-- ignore me --></p>text <!-- -->2")
            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)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

        public void visitSignature(SignatureVisitor visitor) {
            if (wildcard) {
                visitor.visitText("?");
            } else if (upperBounds != null) {
                visitor.visitText("? extends ");
                upperBounds.visitSignature(visitor);
            } else if (lowerBounds != null) {
                visitor.visitText("? super ");
                lowerBounds.visitSignature(visitor);
            } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

            public VisitorImpl(TokenVisitor visitor) {
                this.visitor = visitor;
            }
    
            private void unwindTo(String element, TokenVisitor visitor) {
                if (elementStack.contains(element)) {
                    while (!elementStack.getFirst().equals(element)) {
                        visitor.onEndHtmlElement(elementStack.removeFirst());
                    }
                    elementStack.removeFirst();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                scanner.find('}');
                String value = scanner.region();
                visitor.onText(value);
            }
    
            // end of tag marker
            if (scanner.lookingAt('}')) {
                visitor.onEndJavadocTag(tagName);
                scanner.next();
            }
        }
    
        private void parseStartElement(TokenVisitor visitor) {
            // start element marker
            scanner.next();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * Traverses this node and potentially its children using the specified visitor.
         *
         * @param visitor the visitor to call back, must not be {@code null}
         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
         * Returns a new tree starting at this node, filtering the children.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

          }
        }.visit(type);
      }
    
      private static void assertVisited(Type type) {
        TypeVisitor visitor = new BaseTypeVisitor();
        try {
          visitor.visit(type);
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          visitor.visit(new Type[] {type});
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    import com.github.javaparser.JavaParser
    import com.github.javaparser.ast.CompilationUnit
    import com.github.javaparser.ast.visitor.GenericVisitor
    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    import org.jetbrains.kotlin.psi.KtFile
    import gradlebuild.basics.util.KotlinSourceParser
    import java.io.File
    
    
    internal
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

     */
    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) {
            }
    
            void onHtmlElementAttribute(String name, String value) {
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

            return queryBuilder.rewrite(queryShardContext);
        }
    
        @Override
        public void visit(final QueryBuilderVisitor visitor) {
            queryBuilder.visit(visitor);
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            return queryBuilder.toXContent(builder, params);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top