[scala] Move AST nodes to n.s.p.lang.scala.ast
* Also make ScalaTreeBuilder and AbstractScalaNode package private
This commit is contained in:
1 parent
20c7d7f421
commit
24d030cc69
135 files changed
+399
-911
No files matched your search
@@ -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;
|
||||
|
||||
+138
-138
File diff suppressed because it is too large.
Load diff
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
Loaded 30 of 135 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user