@@ -895,19 +895,19 @@ trait TreeOps extends Core {
895
895
kernel.matchTypeTree_Annotated(tree).map(x => (x.arg, x.annotation))
896
896
}
897
897
898
- object IsMatchType {
899
- /** Matches any MatchType and returns it */
900
- def unapply (tree : Tree )(implicit ctx : Context ): Option [MatchType ] =
901
- kernel.matchTypeTree_MatchType (tree)
898
+ object IsMatchTypeTree {
899
+ /** Matches any MatchTypeTree and returns it */
900
+ def unapply (tree : Tree )(implicit ctx : Context ): Option [MatchTypeTree ] =
901
+ kernel.matchTypeTree_MatchTypeTree (tree)
902
902
}
903
903
904
- object MatchType {
905
- def apply (bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchType =
906
- kernel.TypeTree_MatchType_apply (bound, selector, cases)
907
- def copy (original : MatchType )(bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchType =
908
- kernel.TypeTree_MatchType_copy (original)(bound, selector, cases)
904
+ object MatchTypeTree {
905
+ def apply (bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchTypeTree =
906
+ kernel.TypeTree_MatchTypeTree_apply (bound, selector, cases)
907
+ def copy (original : MatchTypeTree )(bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchTypeTree =
908
+ kernel.TypeTree_MatchTypeTree_copy (original)(bound, selector, cases)
909
909
def unapply (tree : Tree )(implicit ctx : Context ): Option [(Option [TypeTree ], TypeTree , List [TypeCaseDef ])] =
910
- kernel.matchTypeTree_MatchType (tree).map(x => (x.bound, x.selector, x.cases))
910
+ kernel.matchTypeTree_MatchTypeTree (tree).map(x => (x.bound, x.selector, x.cases))
911
911
}
912
912
913
913
object IsByName {
@@ -1003,10 +1003,10 @@ trait TreeOps extends Core {
1003
1003
def annotation (implicit ctx : Context ): Term = kernel.TypeTree_Annotated_annotation (self)
1004
1004
}
1005
1005
1006
- implicit class TypeTree_MatchTypeAPI (self : TypeTree .MatchType ) {
1007
- def bound (implicit ctx : Context ): Option [TypeTree ] = kernel.TypeTree_MatchType_bound (self)
1008
- def selector (implicit ctx : Context ): TypeTree = kernel.TypeTree_MatchType_selector (self)
1009
- def cases (implicit ctx : Context ): List [TypeCaseDef ] = kernel.TypeTree_MatchType_cases (self)
1006
+ implicit class TypeTree_MatchTypeTreeAPI (self : TypeTree .MatchTypeTree ) {
1007
+ def bound (implicit ctx : Context ): Option [TypeTree ] = kernel.TypeTree_MatchTypeTree_bound (self)
1008
+ def selector (implicit ctx : Context ): TypeTree = kernel.TypeTree_MatchTypeTree_selector (self)
1009
+ def cases (implicit ctx : Context ): List [TypeCaseDef ] = kernel.TypeTree_MatchTypeTree_cases (self)
1010
1010
}
1011
1011
1012
1012
implicit class TypeTree_ByNameAPI (self : TypeTree .ByName ) {
0 commit comments