Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for ANTLR (0.04 sec)

  1. platforms/software/antlr/src/main/resources/META-INF/gradle-plugins/org.gradle.antlr.properties

    implementation-class=org.gradle.api.plugins.antlr.AntlrPlugin...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 62 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.antlr.AntlrTask.xml

                        <td>Default with <literal>antlr</literal> plugin</td>
                    </tr>
                </thead>
                <tr><td>arguments</td><td></td></tr>
                <tr><td>antlrClasspath</td><td><literal>project.configurations.antlr</literal></td></tr>
                <tr><td>outputDirectory</td><td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.antlr.AntlrSourceDirectorySet.xml

    <section>
        <section>
            <title>Properties</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                        <td>Default with <literal>antlr</literal> plugin</td>
                    </tr>
                </thead>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 520 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/core-plugins/antlr_plugin.adoc

    // limitations under the License.
    
    [[antlr_plugin]]
    = The ANTLR Plugin
    
    The ANTLR plugin extends the Java plugin to add support for generating parsers using http://www.antlr.org/[ANTLR].
    
    NOTE: The ANTLR plugin supports ANTLR version 2, 3 and 4.
    
    [[sec:antlr_usage]]
    == Usage
    
    To use the ANTLR plugin, include the following in your build script:
    
    .Using the ANTLR plugin
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/AntlrExecuter.java

     */
    
    package org.gradle.api.plugins.antlr.internal;
    
    import com.google.common.collect.Lists;
    import org.gradle.api.GradleException;
    import org.gradle.api.plugins.antlr.internal.antlr2.GenerationPlan;
    import org.gradle.api.plugins.antlr.internal.antlr2.GenerationPlanBuilder;
    import org.gradle.api.plugins.antlr.internal.antlr2.MetadataExtracter;
    import org.gradle.api.plugins.antlr.internal.antlr2.XRef;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3RelocationIntegrationTest.groovy

                    ;
    
                INT :   '0'..'9'+
                    ;
            """
            projectDir.file("build.gradle") << """
                apply plugin: "antlr"
    
                ${mavenCentralRepository()}
    
                dependencies {
                    antlr 'org.antlr:antlr:3.5.2'
                }
            """
        }
    
        @Override
        protected extractResultsFrom(TestFile projectDir) {
            def result = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy

            assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}.java").exists()
            assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}.smap").exists()
            assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}TokenTypes.java").exists()
            assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}TokenTypes.txt").exists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/AntlrPluginTest.groovy

            main.antlr.srcDirs == [project.file('src/main/antlr')] as Set
    
            def test = project.sourceSets.test
            test.antlr.srcDirs == [project.file('src/test/antlr')] as Set
    
            when:
            project.sourceSets.create('custom')
    
            then:
            def custom = project.sourceSets.custom
            custom.antlr.srcDirs == [project.file('src/custom/antlr')] as Set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3PluginIntegrationTest.groovy

                package com.example;
                import org.acme.test.TestLexer;
                import org.acme.test.TestParser;
                import org.antlr.runtime.CommonTokenStream;
                import org.antlr.runtime.RecognitionException;
                import org.antlr.runtime.ANTLRFileStream;
                import java.io.IOException;
    
                public class Main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracter.java

    import java.util.regex.Pattern;
    
    /**
     * Preprocess an Antlr grammar file so that dependencies between grammars can be properly determined such that they can
     * be processed for generation in proper order later.
     */
    public class MetadataExtracter {
    
        public XRef extractMetadata(Set<File> sources) {
            antlr.Tool tool = new antlr.Tool();
            antlr.preprocessor.Hierarchy hierarchy = new antlr.preprocessor.Hierarchy(tool);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top