@@ -107,7 +107,7 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
107
107
* +- TypeTree ----+- Inferred
108
108
* | +- TypeIdent
109
109
* | +- TypeSelect
110
- * | +- Projection
110
+ * | +- TypeProjection
111
111
* | +- Singleton
112
112
* | +- Refined
113
113
* | +- Applied
@@ -1323,28 +1323,28 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
1323
1323
end TypeSelectMethods
1324
1324
1325
1325
/** Type tree representing a selection of definition with a given name on a given type prefix */
1326
- type Projection <: TypeTree
1326
+ type TypeProjection <: TypeTree
1327
1327
1328
- given TypeTest [Tree , Projection ] = ProjectionTypeTest
1329
- protected val ProjectionTypeTest : TypeTest [Tree , Projection ]
1328
+ given TypeTest [Tree , TypeProjection ] = TypeProjectionTypeTest
1329
+ protected val TypeProjectionTypeTest : TypeTest [Tree , TypeProjection ]
1330
1330
1331
- val Projection : ProjectionModule
1331
+ val TypeProjection : TypeProjectionModule
1332
1332
1333
- trait ProjectionModule { this : Projection .type =>
1333
+ trait TypeProjectionModule { this : TypeProjection .type =>
1334
1334
// TODO def apply(qualifier: TypeTree, name: String): Project
1335
- def copy (original : Tree )(qualifier : TypeTree , name : String ): Projection
1336
- def unapply (x : Projection ): Option [(TypeTree , String )]
1335
+ def copy (original : Tree )(qualifier : TypeTree , name : String ): TypeProjection
1336
+ def unapply (x : TypeProjection ): Option [(TypeTree , String )]
1337
1337
}
1338
1338
1339
- given ProjectionMethods as ProjectionMethods = ProjectionMethodsImpl
1340
- protected val ProjectionMethodsImpl : ProjectionMethods
1339
+ given TypeProjectionMethods as TypeProjectionMethods = TypeProjectionMethodsImpl
1340
+ protected val TypeProjectionMethodsImpl : TypeProjectionMethods
1341
1341
1342
- trait ProjectionMethods :
1343
- extension (self : Projection ):
1342
+ trait TypeProjectionMethods :
1343
+ extension (self : TypeProjection ):
1344
1344
def qualifier : TypeTree
1345
1345
def name : String
1346
1346
end extension
1347
- end ProjectionMethods
1347
+ end TypeProjectionMethods
1348
1348
1349
1349
/** Type tree representing a singleton type */
1350
1350
type Singleton <: TypeTree
@@ -3494,7 +3494,7 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
3494
3494
case Inferred () => x
3495
3495
case TypeIdent (_) => x
3496
3496
case TypeSelect (qualifier, _) => foldTree(x, qualifier)(owner)
3497
- case Projection (qualifier, _) => foldTree(x, qualifier)(owner)
3497
+ case TypeProjection (qualifier, _) => foldTree(x, qualifier)(owner)
3498
3498
case Singleton (ref) => foldTree(x, ref)(owner)
3499
3499
case Refined (tpt, refinements) => foldTrees(foldTree(x, tpt)(owner), refinements)(owner)
3500
3500
case Applied (tpt, args) => foldTrees(foldTree(x, tpt)(owner), args)(owner)
@@ -3646,8 +3646,8 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
3646
3646
case tree : TypeIdent => tree
3647
3647
case tree : TypeSelect =>
3648
3648
TypeSelect .copy(tree)(tree.qualifier, tree.name)
3649
- case tree : Projection =>
3650
- Projection .copy(tree)(tree.qualifier, tree.name)
3649
+ case tree : TypeProjection =>
3650
+ TypeProjection .copy(tree)(tree.qualifier, tree.name)
3651
3651
case tree : Annotated =>
3652
3652
Annotated .copy(tree)(tree.arg, tree.annotation)
3653
3653
case tree : Singleton =>
0 commit comments