@@ -793,33 +793,33 @@ trait TreeOps extends Core {
793793 kernel.matchTypeTree_Inferred(tree).isDefined
794794 }
795795
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)
800800 }
801801
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)
806806 def unapply (tree : Tree )(implicit ctx : Context ): Option [String ] =
807- kernel.matchTypeTree_Ident (tree).map(_.name)
807+ kernel.matchTypeTree_TypeIdent (tree).map(_.name)
808808 }
809809
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)
814814 }
815815
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)
821821 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))
823823 }
824824
825825 object IsProjection {
@@ -970,13 +970,13 @@ trait TreeOps extends Core {
970970 }
971971 }
972972
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)
975975 }
976976
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)
980980 }
981981
982982 implicit class TypeTree_ProjectionAPI (self : TypeTree .Projection ) {
0 commit comments