- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 87 for ANTLR (0.09 sec)
-
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java
* limitations under the License. */ package org.gradle.api.plugins.antlr.internal.antlr2; import antlr.collections.impl.IndexedVector; import antlr.preprocessor.GrammarFile; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr4PluginIntegrationTest.groovy
assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}.tokens").exists() assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}BaseListener.java").exists() assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}Lexer.java").exists() assert file("grammar-builder/build/generated-src/antlr/main/${grammarName}Lexer.tokens").exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AntlrPluginIntegrationTest.groovy
then: file("build/generated-src/antlr/main/TestGrammar.java").exists() file("build/generated-src/antlr/main/TestGrammar.smap").exists() file("build/generated-src/antlr/main/TestGrammarTokenTypes.java").exists() file("build/generated-src/antlr/main/TestGrammarTokenTypes.txt").exists() } def "can configure antlr source set extension in Groovy scripts"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrPlugin.java
import org.gradle.api.plugins.antlr.internal.DefaultAntlrSourceDirectorySet; import org.gradle.api.tasks.SourceSet; import javax.inject.Inject; import java.io.File; /** * A plugin for adding Antlr support to {@link org.gradle.api.plugins.JavaPlugin java projects}. * * @see <a href="https://docs.gradle.org/current/userguide/antlr_plugin.html">ANTLR plugin reference</a> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy
def test1ParserFile = file("grammar-builder/build/generated-src/antlr/main/Test1Parser.java") def test2TokenFile = file("grammar-builder/build/generated-src/antlr/main/Test2.tokens") def test2LexerFile = file("grammar-builder/build/generated-src/antlr/main/Test2Lexer.java") def test2ParserFile = file("grammar-builder/build/generated-src/antlr/main/Test2Parser.java") def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/groovy/build.gradle
// tag::use-plugin[] plugins { id 'antlr' } // end::use-plugin[] // tag::declare-dependency[] repositories { mavenCentral() } dependencies { antlr "org.antlr:antlr:3.5.2" // use ANTLR version 3 // antlr "org.antlr:antlr4:4.5" // use ANTLR version 4 // end::declare-dependency[] testImplementation 'junit:junit:4.13' // tag::declare-dependency[] } // end::declare-dependency[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 569 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/kotlin/build.gradle.kts
// tag::use-plugin[] plugins { antlr } // end::use-plugin[] // tag::declare-dependency[] repositories { mavenCentral() } dependencies { antlr("org.antlr:antlr:3.5.2") // use ANTLR version 3 // antlr("org.antlr:antlr4:4.5") // use ANTLR version 4 // end::declare-dependency[] testImplementation("junit:junit:4.13") // tag::declare-dependency[] } // end::declare-dependency[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 592 bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2RelocationIntegrationTest.groovy
apply plugin: "antlr" ${mavenCentralRepository()} """ } @Override protected extractResultsFrom(TestFile projectDir) { [ "build/generated-src/antlr/main/TestGrammar.java", "build/generated-src/antlr/main/TestGrammar.smap", "build/generated-src/antlr/main/TestGrammarTokenTypes.java",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AbstractAntlrIntegrationTest.groovy
* limitations under the License. */ package org.gradle.api.plugins.antlr import org.gradle.integtests.fixtures.AbstractIntegrationSpec abstract class AbstractAntlrIntegrationTest extends AbstractIntegrationSpec { def setup() { // So we can assert on which version of ANTLR is used at runtime executer.withArgument("-i") buildFile << """ allprojects {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/groovy/src/test/java/org/gradle/GrammarTest.java
package org.gradle; import java.io.StringReader; import org.junit.Test; import static org.junit.Assert.*; import org.antlr.runtime.CommonTokenStream; import org.antlr.runtime.ANTLRStringStream; public class GrammarTest { @Test public void canUseGeneratedGrammar() throws Exception { ANTLRStringStream in = new ANTLRStringStream("1+2"); CalculatorLexer lexer = new CalculatorLexer(in);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 569 bytes - Viewed (0)