[scala] Move AST nodes to n.s.p.lang.scala.ast

* Also make ScalaTreeBuilder and AbstractScalaNode
  package private
This commit is contained in:
Andreas Dangel 2019-09-07 15:56:06 +02:00
parent 20c7d7f421
commit 24d030cc69
135 changed files with 399 additions and 911 deletions

View File

@ -16,8 +16,7 @@ import net.sourceforge.pmd.lang.ParserOptions;
import net.sourceforge.pmd.lang.TokenManager;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.ast.ParseException;
import net.sourceforge.pmd.lang.scala.ast.ScalaTreeBuilder;
import net.sourceforge.pmd.lang.scala.ast.nodes.ASTSource;
import net.sourceforge.pmd.lang.scala.ast.ASTSource;
import scala.meta.Dialect;
import scala.meta.Source;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Case;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Ctor;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Ctor;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Decl;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Defn;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Enumerator;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Enumerator;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Enumerator;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Import;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importee;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importee;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importee;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importee;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Importer;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Init;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;

View File

@ -2,9 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.scala.ast.nodes;
import net.sourceforge.pmd.lang.scala.ast.ScalaParserVisitor;
package net.sourceforge.pmd.lang.scala.ast;
import scala.meta.Lit;

Some files were not shown because too many files have changed in this diff Show More