@@ -773,20 +773,20 @@ trait CompilerInterface {
773
773
/** NoPrefix for a type selection */
774
774
type NoPrefix <: TypeOrBounds
775
775
776
- def matchNoPrefix ( x : TypeOrBounds )( given ctx : Context ): Option [NoPrefix ]
776
+ def isInstanceOfNoPrefix ( given ctx : Context ): IsInstanceOf [NoPrefix ]
777
777
778
778
/** Type bounds */
779
779
type TypeBounds <: TypeOrBounds
780
780
781
- def matchTypeBounds ( x : TypeOrBounds )( given ctx : Context ): Option [TypeBounds ]
781
+ def isInstanceOfTypeBounds ( given ctx : Context ): IsInstanceOf [TypeBounds ]
782
782
783
783
def TypeBounds_low (self : TypeBounds )(given ctx : Context ): Type
784
784
def TypeBounds_hi (self : TypeBounds )(given ctx : Context ): Type
785
785
786
786
/** A type */
787
787
type Type <: TypeOrBounds
788
788
789
- def matchType ( x : TypeOrBounds )( given ctx : Context ): Option [Type ]
789
+ def isInstanceOfType ( given ctx : Context ): IsInstanceOf [Type ]
790
790
791
791
def Type_apply (clazz : Class [_])(given ctx : Context ): Type
792
792
@@ -858,14 +858,14 @@ trait CompilerInterface {
858
858
/** A singleton type representing a known constant value */
859
859
type ConstantType <: Type
860
860
861
- def matchConstantType ( tpe : TypeOrBounds )( given ctx : Context ): Option [ConstantType ]
861
+ def isInstanceOfConstantType ( given ctx : Context ): IsInstanceOf [ConstantType ]
862
862
863
863
def ConstantType_constant (self : ConstantType )(given ctx : Context ): Constant
864
864
865
865
/** Type of a reference to a term symbol */
866
866
type TermRef <: Type
867
867
868
- def matchTermRef ( tpe : TypeOrBounds )( given ctx : Context ): Option [TermRef ]
868
+ def isInstanceOfTermRef ( given ctx : Context ): IsInstanceOf [TermRef ]
869
869
870
870
def TermRef_apply (qual : TypeOrBounds , name : String )(given ctx : Context ): TermRef
871
871
@@ -875,23 +875,23 @@ trait CompilerInterface {
875
875
/** Type of a reference to a type symbol */
876
876
type TypeRef <: Type
877
877
878
- def matchTypeRef ( tpe : TypeOrBounds )( given ctx : Context ): Option [TypeRef ]
878
+ def isInstanceOfTypeRef ( given ctx : Context ): IsInstanceOf [TypeRef ]
879
879
880
880
def TypeRef_qualifier (self : TypeRef )(given ctx : Context ): TypeOrBounds
881
881
def TypeRef_name (self : TypeRef )(given Context ): String
882
882
883
883
/** Type of a `super` refernce */
884
884
type SuperType <: Type
885
885
886
- def matchSuperType ( tpe : TypeOrBounds )( given ctx : Context ): Option [SuperType ]
886
+ def isInstanceOfSuperType ( given ctx : Context ): IsInstanceOf [SuperType ]
887
887
888
888
def SuperType_thistpe (self : SuperType )(given ctx : Context ): Type
889
889
def SuperType_supertpe (self : SuperType )(given ctx : Context ): Type
890
890
891
891
/** A type with a type refinement `T { type U }` */
892
892
type Refinement <: Type
893
893
894
- def matchRefinement ( tpe : TypeOrBounds )( given ctx : Context ): Option [Refinement ]
894
+ def isInstanceOfRefinement ( given ctx : Context ): IsInstanceOf [Refinement ]
895
895
896
896
def Refinement_parent (self : Refinement )(given ctx : Context ): Type
897
897
def Refinement_name (self : Refinement )(given ctx : Context ): String
@@ -900,7 +900,7 @@ trait CompilerInterface {
900
900
/** A higher kinded type applied to some types `T[U]` */
901
901
type AppliedType <: Type
902
902
903
- def matchAppliedType ( tpe : TypeOrBounds )( given ctx : Context ): Option [AppliedType ]
903
+ def isInstanceOfAppliedType ( given ctx : Context ): IsInstanceOf [AppliedType ]
904
904
905
905
def AppliedType_tycon (self : AppliedType )(given ctx : Context ): Type
906
906
def AppliedType_args (self : AppliedType )(given ctx : Context ): List [TypeOrBounds ]
@@ -910,31 +910,31 @@ trait CompilerInterface {
910
910
/** A type with an anottation `T @foo` */
911
911
type AnnotatedType <: Type
912
912
913
- def matchAnnotatedType ( tpe : TypeOrBounds )( given ctx : Context ): Option [AnnotatedType ]
913
+ def isInstanceOfAnnotatedType ( given ctx : Context ): IsInstanceOf [AnnotatedType ]
914
914
915
915
def AnnotatedType_underlying (self : AnnotatedType )(given ctx : Context ): Type
916
916
def AnnotatedType_annot (self : AnnotatedType )(given ctx : Context ): Term
917
917
918
918
/** Intersection type `T & U` */
919
919
type AndType <: Type
920
920
921
- def matchAndType ( tpe : TypeOrBounds )( given ctx : Context ): Option [AndType ]
921
+ def isInstanceOfAndType ( given ctx : Context ): IsInstanceOf [AndType ]
922
922
923
923
def AndType_left (self : AndType )(given ctx : Context ): Type
924
924
def AndType_right (self : AndType )(given ctx : Context ): Type
925
925
926
926
/** Union type `T | U` */
927
927
type OrType <: Type
928
928
929
- def matchOrType ( tpe : TypeOrBounds )( given ctx : Context ): Option [OrType ]
929
+ def isInstanceOfOrType ( given ctx : Context ): IsInstanceOf [OrType ]
930
930
931
931
def OrType_left (self : OrType )(given ctx : Context ): Type
932
932
def OrType_right (self : OrType )(given ctx : Context ): Type
933
933
934
934
/** Type match `T match { case U => ... }` */
935
935
type MatchType <: Type
936
936
937
- def matchMatchType ( tpe : TypeOrBounds )( given ctx : Context ): Option [MatchType ]
937
+ def isInstanceOfMatchType ( given ctx : Context ): IsInstanceOf [MatchType ]
938
938
939
939
def MatchType_bound (self : MatchType )(given ctx : Context ): Type
940
940
def MatchType_scrutinee (self : MatchType )(given ctx : Context ): Type
@@ -943,36 +943,36 @@ trait CompilerInterface {
943
943
/** Type of a by by name parameter */
944
944
type ByNameType <: Type
945
945
946
- def matchByNameType ( tpe : TypeOrBounds )( given ctx : Context ): Option [ByNameType ]
946
+ def isInstanceOfByNameType ( given ctx : Context ): IsInstanceOf [ByNameType ]
947
947
948
948
def ByNameType_underlying (self : ByNameType )(given ctx : Context ): Type
949
949
950
950
/** Type of a parameter reference */
951
951
type ParamRef <: Type
952
952
953
- def matchParamRef ( tpe : TypeOrBounds )( given ctx : Context ): Option [ParamRef ]
953
+ def isInstanceOfParamRef ( given ctx : Context ): IsInstanceOf [ParamRef ]
954
954
955
955
def ParamRef_binder (self : ParamRef )(given ctx : Context ): LambdaType [TypeOrBounds ]
956
956
def ParamRef_paramNum (self : ParamRef )(given ctx : Context ): Int
957
957
958
958
/** Type of `this` */
959
959
type ThisType <: Type
960
960
961
- def matchThisType ( tpe : TypeOrBounds )( given ctx : Context ): Option [ThisType ]
961
+ def isInstanceOfThisType ( given ctx : Context ): IsInstanceOf [ThisType ]
962
962
963
963
def ThisType_tref (self : ThisType )(given ctx : Context ): Type
964
964
965
965
/** A type that is recursively defined `this` */
966
966
type RecursiveThis <: Type
967
967
968
- def matchRecursiveThis ( tpe : TypeOrBounds )( given ctx : Context ): Option [RecursiveThis ]
968
+ def isInstanceOfRecursiveThis ( given ctx : Context ): IsInstanceOf [RecursiveThis ]
969
969
970
970
def RecursiveThis_binder (self : RecursiveThis )(given ctx : Context ): RecursiveType
971
971
972
972
/** A type that is recursively defined */
973
973
type RecursiveType <: Type
974
974
975
- def matchRecursiveType ( tpe : TypeOrBounds )( given ctx : Context ): Option [RecursiveType ]
975
+ def isInstanceOfRecursiveType ( given ctx : Context ): IsInstanceOf [RecursiveType ]
976
976
977
977
def RecursiveType_underlying (self : RecursiveType )(given ctx : Context ): Type
978
978
@@ -984,7 +984,7 @@ trait CompilerInterface {
984
984
/** Type of the definition of a method taking a single list of parameters. It's return type may be a MethodType. */
985
985
type MethodType <: LambdaType [Type ]
986
986
987
- def matchMethodType ( tpe : TypeOrBounds )( given ctx : Context ): Option [MethodType ]
987
+ def isInstanceOfMethodType ( given ctx : Context ): IsInstanceOf [MethodType ]
988
988
989
989
def MethodType_isErased (self : MethodType ): Boolean
990
990
def MethodType_isImplicit (self : MethodType ): Boolean
@@ -995,7 +995,7 @@ trait CompilerInterface {
995
995
/** Type of the definition of a method taking a list of type parameters. It's return type may be a MethodType. */
996
996
type PolyType <: LambdaType [TypeBounds ]
997
997
998
- def matchPolyType ( tpe : TypeOrBounds )( given ctx : Context ): Option [PolyType ]
998
+ def isInstanceOfPolyType ( given ctx : Context ): IsInstanceOf [PolyType ]
999
999
1000
1000
def PolyType_paramNames (self : PolyType )(given ctx : Context ): List [String ]
1001
1001
def PolyType_paramBounds (self : PolyType )(given ctx : Context ): List [TypeBounds ]
@@ -1004,7 +1004,7 @@ trait CompilerInterface {
1004
1004
/** Type of the definition of a type lambda taking a list of type parameters. It's return type may be a TypeLambda. */
1005
1005
type TypeLambda <: LambdaType [TypeBounds ]
1006
1006
1007
- def matchTypeLambda ( tpe : TypeOrBounds )( given ctx : Context ): Option [TypeLambda ]
1007
+ def isInstanceOfTypeLambda ( given ctx : Context ): IsInstanceOf [TypeLambda ]
1008
1008
1009
1009
def TypeLambda_paramNames (self : TypeLambda )(given ctx : Context ): List [String ]
1010
1010
def TypeLambda_paramBounds (self : TypeLambda )(given ctx : Context ): List [TypeBounds ]
@@ -1023,20 +1023,20 @@ trait CompilerInterface {
1023
1023
1024
1024
type SimpleSelector <: ImportSelector
1025
1025
1026
- def matchSimpleSelector ( self : ImportSelector )( given ctx : Context ): Option [SimpleSelector ]
1026
+ def isInstanceOfSimpleSelector ( given ctx : Context ): IsInstanceOf [SimpleSelector ]
1027
1027
1028
1028
def SimpleSelector_selection (self : SimpleSelector )(given ctx : Context ): Id
1029
1029
1030
1030
type RenameSelector <: ImportSelector
1031
1031
1032
- def matchRenameSelector ( self : ImportSelector )( given ctx : Context ): Option [RenameSelector ]
1032
+ def isInstanceOfRenameSelector ( given ctx : Context ): IsInstanceOf [RenameSelector ]
1033
1033
1034
1034
def RenameSelector_from (self : RenameSelector )(given ctx : Context ): Id
1035
1035
def RenameSelector_to (self : RenameSelector )(given ctx : Context ): Id
1036
1036
1037
1037
type OmitSelector <: ImportSelector
1038
1038
1039
- def matchOmitSelector ( self : ImportSelector )( given ctx : Context ): Option [OmitSelector ]
1039
+ def isInstanceOfOmitSelector ( given ctx : Context ): IsInstanceOf [OmitSelector ]
1040
1040
1041
1041
def SimpleSelector_omitted (self : OmitSelector )(given ctx : Context ): Id
1042
1042
0 commit comments