-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some shared definitions back to src/main/scala/
- Loading branch information
1 parent
a15c08f
commit 6208f80
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
amm/compiler/src/main/scala/ammonite/compiler/CompilerUtil.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package ammonite.compiler | ||
|
||
object CompilerUtil { | ||
|
||
val ignoredSyms = Set( | ||
"package class-use", | ||
"object package-info", | ||
"class package-info" | ||
) | ||
val ignoredNames = Set( | ||
// Probably synthetic | ||
"<init>", | ||
"<clinit>", | ||
"$main", | ||
// Don't care about this | ||
"toString", | ||
// Behaves weird in 2.10.x, better to just ignore. | ||
"_" | ||
) | ||
|
||
} |