@@ -793,33 +793,33 @@ trait TreeOps extends Core {
793
793
kernel.matchTypeTree_Inferred(tree).isDefined
794
794
}
795
795
796
- object IsIdent {
797
- /** Matches any Ident and returns it */
798
- def unapply (tree : Tree )(implicit ctx : Context ): Option [Ident ] =
799
- kernel.matchTypeTree_Ident (tree)
796
+ object IsTypeIdent {
797
+ /** Matches any TypeIdent and returns it */
798
+ def unapply (tree : Tree )(implicit ctx : Context ): Option [TypeIdent ] =
799
+ kernel.matchTypeTree_TypeIdent (tree)
800
800
}
801
801
802
- object Ident {
803
- // TODO def apply(name: String)(implicit ctx: Context): Ident
804
- def copy (original : Ident )(name : String )(implicit ctx : Context ): Ident =
805
- kernel.TypeTree_Ident_copy (original)(name)
802
+ object TypeIdent {
803
+ // TODO def apply(name: String)(implicit ctx: Context): TypeIdent
804
+ def copy (original : TypeIdent )(name : String )(implicit ctx : Context ): TypeIdent =
805
+ kernel.TypeTree_TypeIdent_copy (original)(name)
806
806
def unapply (tree : Tree )(implicit ctx : Context ): Option [String ] =
807
- kernel.matchTypeTree_Ident (tree).map(_.name)
807
+ kernel.matchTypeTree_TypeIdent (tree).map(_.name)
808
808
}
809
809
810
- object IsSelect {
811
- /** Matches any Select and returns it */
812
- def unapply (tree : Tree )(implicit ctx : Context ): Option [Select ] =
813
- kernel.matchTypeTree_Select (tree)
810
+ object IsTypeSelect {
811
+ /** Matches any TypeSelect and returns it */
812
+ def unapply (tree : Tree )(implicit ctx : Context ): Option [TypeSelect ] =
813
+ kernel.matchTypeTree_TypeSelect (tree)
814
814
}
815
815
816
- object Select {
817
- def apply (qualifier : Term , name : String )(implicit ctx : Context ): Select =
818
- kernel.TypeTree_Select_apply (qualifier, name)
819
- def copy (original : Select )(qualifier : Term , name : String )(implicit ctx : Context ): Select =
820
- kernel.TypeTree_Select_copy (original)(qualifier, name)
816
+ object TypeSelect {
817
+ def apply (qualifier : Term , name : String )(implicit ctx : Context ): TypeSelect =
818
+ kernel.TypeTree_TypeSelect_apply (qualifier, name)
819
+ def copy (original : TypeSelect )(qualifier : Term , name : String )(implicit ctx : Context ): TypeSelect =
820
+ kernel.TypeTree_TypeSelect_copy (original)(qualifier, name)
821
821
def unapply (tree : Tree )(implicit ctx : Context ): Option [(Term , String )] =
822
- kernel.matchTypeTree_Select (tree).map(x => (x.qualifier, x.name))
822
+ kernel.matchTypeTree_TypeSelect (tree).map(x => (x.qualifier, x.name))
823
823
}
824
824
825
825
object IsProjection {
@@ -970,13 +970,13 @@ trait TreeOps extends Core {
970
970
}
971
971
}
972
972
973
- implicit class TypeTree_IdentAPI (self : TypeTree .Ident ) {
974
- def name (implicit ctx : Context ): String = kernel.TypeTree_Ident_name (self)
973
+ implicit class TypeTree_TypeIdentAPI (self : TypeTree .TypeIdent ) {
974
+ def name (implicit ctx : Context ): String = kernel.TypeTree_TypeIdent_name (self)
975
975
}
976
976
977
- implicit class TypeTree_SelectAPI (self : TypeTree .Select ) {
978
- def qualifier (implicit ctx : Context ): Term = kernel.TypeTree_Select_qualifier (self)
979
- def name (implicit ctx : Context ): String = kernel.TypeTree_Select_name (self)
977
+ implicit class TypeTree_TypeSelectAPI (self : TypeTree .TypeSelect ) {
978
+ def qualifier (implicit ctx : Context ): Term = kernel.TypeTree_TypeSelect_qualifier (self)
979
+ def name (implicit ctx : Context ): String = kernel.TypeTree_TypeSelect_name (self)
980
980
}
981
981
982
982
implicit class TypeTree_ProjectionAPI (self : TypeTree .Projection ) {
0 commit comments