@@ -107,7 +107,7 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
107107 * +- TypeTree ----+- Inferred
108108 * | +- TypeIdent
109109 * | +- TypeSelect
110- * | +- Projection
110+ * | +- TypeProjection
111111 * | +- Singleton
112112 * | +- Refined
113113 * | +- Applied
@@ -1323,28 +1323,28 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
13231323 end TypeSelectMethods
13241324
13251325 /** Type tree representing a selection of definition with a given name on a given type prefix */
1326- type Projection <: TypeTree
1326+ type TypeProjection <: TypeTree
13271327
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 ]
13301330
1331- val Projection : ProjectionModule
1331+ val TypeProjection : TypeProjectionModule
13321332
1333- trait ProjectionModule { this : Projection .type =>
1333+ trait TypeProjectionModule { this : TypeProjection .type =>
13341334 // 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 )]
13371337 }
13381338
1339- given ProjectionMethods as ProjectionMethods = ProjectionMethodsImpl
1340- protected val ProjectionMethodsImpl : ProjectionMethods
1339+ given TypeProjectionMethods as TypeProjectionMethods = TypeProjectionMethodsImpl
1340+ protected val TypeProjectionMethodsImpl : TypeProjectionMethods
13411341
1342- trait ProjectionMethods :
1343- extension (self : Projection ):
1342+ trait TypeProjectionMethods :
1343+ extension (self : TypeProjection ):
13441344 def qualifier : TypeTree
13451345 def name : String
13461346 end extension
1347- end ProjectionMethods
1347+ end TypeProjectionMethods
13481348
13491349 /** Type tree representing a singleton type */
13501350 type Singleton <: TypeTree
@@ -3494,7 +3494,7 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
34943494 case Inferred () => x
34953495 case TypeIdent (_) => x
34963496 case TypeSelect (qualifier, _) => foldTree(x, qualifier)(owner)
3497- case Projection (qualifier, _) => foldTree(x, qualifier)(owner)
3497+ case TypeProjection (qualifier, _) => foldTree(x, qualifier)(owner)
34983498 case Singleton (ref) => foldTree(x, ref)(owner)
34993499 case Refined (tpt, refinements) => foldTrees(foldTree(x, tpt)(owner), refinements)(owner)
35003500 case Applied (tpt, args) => foldTrees(foldTree(x, tpt)(owner), args)(owner)
@@ -3646,8 +3646,8 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
36463646 case tree : TypeIdent => tree
36473647 case tree : TypeSelect =>
36483648 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)
36513651 case tree : Annotated =>
36523652 Annotated .copy(tree)(tree.arg, tree.annotation)
36533653 case tree : Singleton =>
0 commit comments