-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add all unapply methods, and missing apply methods
- Loading branch information
Showing
9 changed files
with
3,796 additions
and
577 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
452 changes: 225 additions & 227 deletions
452
quasiquotes3/shared/src/main/scala/scala/meta/internal/quasiquotes/ExprLifts.scala
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 16 additions & 1 deletion
17
quasiquotes3/shared/src/main/scala/scala/meta/internal/quasiquotes/QuasiquoteType.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 |
---|---|---|
@@ -1,4 +1,19 @@ | ||
package scala.meta | ||
|
||
private[meta] enum QuasiquoteType: | ||
case Q, P, T | ||
case Term // q"" | ||
case TermParam // param"" | ||
case Type // t"" | ||
case TypeParam // tparam"" | ||
case CaseOrPattern // p"" | ||
case Init // init"" | ||
case Self //self"" | ||
case Template // template"" | ||
case Mod // mod"" | ||
case Enumerator // enumerator"" | ||
case Importer // importer"" | ||
case Importee // importee"" | ||
case Source // source"" | ||
|
||
def parserClass() = | ||
"scala.meta.quasiquotes.Api.XTensionQuasiquote" + toString |
495 changes: 304 additions & 191 deletions
495
quasiquotes3/shared/src/main/scala/scala/meta/internal/quasiquotes/ReificationMacros.scala
Large diffs are not rendered by default.
Oops, something went wrong.
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
102 changes: 0 additions & 102 deletions
102
quasiquotes3/shared/src/test/scala/scala/meta/tests/Example.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.