Skip to content

Commit

Permalink
rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvergnaud committed Mar 9, 2024
1 parent 0dab63c commit 08f4e2b
Show file tree
Hide file tree
Showing 61 changed files with 85 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import org.antlr.v5.Tool;
import org.antlr.v5.codegen.CodeGenerator;
import org.antlr.v5.runtime._unused.misc.MultiMap;
import org.antlr.v5.runtime.java._unused.misc.MultiMap;
import org.antlr.v5.tool.Grammar;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/
package org.antlr.v5.test.runtime.java;

import org.antlr.v5.runtime.*;
import org.antlr.v5.runtime.core.CommonTokenStream;
import org.antlr.v5.runtime.core.Lexer;
import org.antlr.v5.runtime.core.Parser;
Expand All @@ -14,7 +13,8 @@
import org.antlr.v5.runtime.core.atn.ProfilingATNSimulator;
import org.antlr.v5.runtime.core.context.ParserRuleContext;
import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.tree.ParseTreeWalker;
import org.antlr.v5.runtime.java.DiagnosticErrorListener;
import org.antlr.v5.runtime.java.tree.ParseTreeWalker;
import org.antlr.v5.test.runtime.*;
import org.antlr.v5.test.runtime.java.helpers.CustomStreamErrorListener;
import org.antlr.v5.test.runtime.java.helpers.RuntimeTestLexer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package org.antlr.v5.test.runtime.java;

import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.java.CharStreams;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
package org.antlr.v5.test.runtime.java.api;

import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.core.*;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
*/
package org.antlr.v5.test.runtime.java.api;

import org.antlr.v5.runtime.*;
import org.antlr.v5.runtime.core.CommonTokenStream;
import org.antlr.v5.runtime.core.LexerInterpreter;
import org.antlr.v5.runtime.core.misc.Interval;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.java.TokenStreamRewriter;
import org.antlr.v5.tool.LexerGrammar;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
*/
package org.antlr.v5.test.runtime.java.api;

import org.antlr.v5.runtime.BaseErrorListener;
import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.java.BaseErrorListener;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.core.CommonTokenStream;
import org.antlr.v5.runtime.core.Recognizer;
import org.antlr.v5.runtime.core.error.RecognitionException;
import org.antlr.v5.runtime.core.tree.ErrorNode;
import org.antlr.v5.runtime.core.tree.RuleNode;
import org.antlr.v5.runtime.core.tree.TerminalNode;
import org.antlr.v5.runtime.java.tree.AbstractParseTreeVisitor;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
Expand Down Expand Up @@ -108,7 +109,7 @@ protected String aggregateResult(String aggregate, String nextResult) {
/**
* This test verifies that {@link AbstractParseTreeVisitor#visitChildren} does not call
* {@link org.antlr.v5.runtime.tree.ParseTreeVisitor#visit} after
* {@link org.antlr.v5.runtime.tree.AbstractParseTreeVisitor#shouldVisitNextChild} returns
* {@link AbstractParseTreeVisitor#shouldVisitNextChild} returns
* {@code false}.
*/
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

package org.antlr.v5.test.runtime.java.api.perf;

import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.core.CommonTokenStream;
import org.antlr.v5.runtime.core.Lexer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.antlr.v5.test.runtime.java.helpers;

import org.antlr.v5.runtime.BaseErrorListener;
import org.antlr.v5.runtime.java.BaseErrorListener;
import org.antlr.v5.runtime.core.error.RecognitionException;
import org.antlr.v5.runtime.core.Recognizer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.antlr.v5.test.runtime.states.jvm;

import kotlin.Pair;
import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.core.TokenStream;
import org.antlr.v5.runtime.core.CommonTokenStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.Parser;
import org.antlr.v5.runtime.core.Token;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.atn.ATNConfigSet;
import org.antlr.v5.runtime.core.Parser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.core.IntStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import java.nio.ByteBuffer;
import java.nio.CharBuffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.IntStream;
import org.antlr.v5.runtime.core.CharStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.Recognizer;
import org.antlr.v5.runtime.core.error.RecognitionException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.Parser;
import org.antlr.v5.runtime.core.atn.ATNConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import kotlin.Pair;
import org.antlr.v5.runtime.core.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v5.runtime;
package org.antlr.v5.runtime.java;

import org.antlr.v5.runtime.core.Token;
import org.antlr.v5.runtime.core.TokenStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.misc;
package org.antlr.v5.runtime.java._unused.misc;

import kotlin.Pair;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

/**
* A chunk is either a token tag, a rule tag, or a span of literal text within a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime._unused.misc.MultiMap;
import org.antlr.v5.runtime.java._unused.misc.MultiMap;
import org.antlr.v5.runtime.core.tree.ParseTree;

import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime._unused.tree.xpath.XPath;
import org.antlr.v5.runtime.java._unused.tree.xpath.XPath;
import org.antlr.v5.runtime.core.tree.ParseTree;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime.core.Lexer;
import org.antlr.v5.runtime.core.Parser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime.BailErrorStrategy;
import org.antlr.v5.runtime.CharStreams;
import org.antlr.v5.runtime.ListTokenSource;
import org.antlr.v5.runtime._unused.misc.MultiMap;
import org.antlr.v5.runtime.java.BailErrorStrategy;
import org.antlr.v5.runtime.java.CharStreams;
import org.antlr.v5.runtime.java.ListTokenSource;
import org.antlr.v5.runtime.java._unused.misc.MultiMap;
import org.antlr.v5.runtime.core.*;
import org.antlr.v5.runtime.core.atn.ATN;
import org.antlr.v5.runtime.core.context.ParserRuleContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.core.Token;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

/**
* Represents a placeholder tag in a tree pattern. A tag can have any of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

/**
* Represents a span of raw text (concrete syntax) between tags in a tree
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.pattern;
package org.antlr.v5.runtime.java._unused.tree.pattern;

import org.antlr.v5.runtime.core.Token;
import org.antlr.v5.runtime.core.CommonToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.*;
import org.antlr.v5.runtime.core.CommonTokenStream;
import org.antlr.v5.runtime.core.Token;
import org.antlr.v5.runtime.core.context.ParserRuleContext;
import org.antlr.v5.runtime.core.error.*;
import org.antlr.v5.runtime.core.CharStream;
import org.antlr.v5.runtime.core.Parser;
import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.java.CharStreams;

import java.io.IOException;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.*;
import org.antlr.v5.runtime.core.atn.LexerATNSimulator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.BaseErrorListener;
import org.antlr.v5.runtime.java.BaseErrorListener;
import org.antlr.v5.runtime.core.error.RecognitionException;
import org.antlr.v5.runtime.core.Recognizer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.core.tree.Trees;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.context.ParserRuleContext;
import org.antlr.v5.runtime.core.tree.ParseTree;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.core.tree.Trees;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.core.tree.TerminalNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.core.tree.Trees;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* can be found in the LICENSE.txt file in the project root.
*/

package org.antlr.v5.runtime._unused.tree.xpath;
package org.antlr.v5.runtime.java._unused.tree.xpath;

import org.antlr.v5.runtime.core.tree.ParseTree;
import org.antlr.v5.runtime.core.tree.Tree;
Expand Down
Loading

0 comments on commit 08f4e2b

Please sign in to comment.