@@ -29,104 +29,104 @@ trait StandardDefinitions extends TastyCore {
29
29
def ScalaPackageClass : Symbol
30
30
31
31
/** The class symbol of core class `scala.Any`. */
32
- def AnyClass : ClassDef
32
+ def AnyClass : Symbol
33
33
34
34
/** The class symbol of core class `scala.AnyVal`. */
35
- def AnyValClass : ClassDef
35
+ def AnyValClass : Symbol
36
36
37
37
/** The class symbol of core class `java.lang.Object`. */
38
- def ObjectClass : ClassDef
38
+ def ObjectClass : Symbol
39
39
40
40
/** The type symbol of core class `scala.AnyRef`. */
41
- def AnyRefClass : TypeDef
41
+ def AnyRefClass : Symbol
42
42
43
43
/** The class symbol of core class `scala.Null`. */
44
- def NullClass : ClassDef
44
+ def NullClass : Symbol
45
45
46
46
/** The class symbol of core class `scala.Nothing`. */
47
- def NothingClass : ClassDef
47
+ def NothingClass : Symbol
48
48
49
49
/** The class symbol of primitive class `scala.Unit`. */
50
- def UnitClass : ClassDef
50
+ def UnitClass : Symbol
51
51
52
52
/** The class symbol of primitive class `scala.Byte`. */
53
- def ByteClass : ClassDef
53
+ def ByteClass : Symbol
54
54
55
55
/** The class symbol of primitive class `scala.Short`. */
56
- def ShortClass : ClassDef
56
+ def ShortClass : Symbol
57
57
58
58
/** The class symbol of primitive class `scala.Char`. */
59
- def CharClass : ClassDef
59
+ def CharClass : Symbol
60
60
61
61
/** The class symbol of primitive class `scala.Int`. */
62
- def IntClass : ClassDef
62
+ def IntClass : Symbol
63
63
64
64
/** The class symbol of primitive class `scala.Long`. */
65
- def LongClass : ClassDef
65
+ def LongClass : Symbol
66
66
67
67
/** The class symbol of primitive class `scala.Float`. */
68
- def FloatClass : ClassDef
68
+ def FloatClass : Symbol
69
69
70
70
/** The class symbol of primitive class `scala.Double`. */
71
- def DoubleClass : ClassDef
71
+ def DoubleClass : Symbol
72
72
73
73
/** The class symbol of primitive class `scala.Boolean`. */
74
- def BooleanClass : ClassDef
74
+ def BooleanClass : Symbol
75
75
76
76
/** The class symbol of class `scala.String`. */
77
- def StringClass : ClassDef
77
+ def StringClass : Symbol
78
78
79
79
/** The class symbol of class `java.lang.Class`. */
80
- def ClassClass : ClassDef
80
+ def ClassClass : Symbol
81
81
82
82
/** The class symbol of class `scala.Array`. */
83
- def ArrayClass : ClassDef
83
+ def ArrayClass : Symbol
84
84
85
85
/** The module symbol of module `scala.Predef`. */
86
- def PredefModule : ValDef
86
+ def PredefModule : Symbol
87
87
88
88
/** The module symbol of package `java.lang`. */
89
- def JavaLangPackage : PackageDef
89
+ def JavaLangPackage : Symbol
90
90
91
91
/** The module symbol of module `scala.Array`. */
92
- def ArrayModule : ValDef
92
+ def ArrayModule : Symbol
93
93
94
94
/** The method symbol of method `apply` in class `scala.Array`. */
95
- def Array_apply : DefDef
95
+ def Array_apply : Symbol
96
96
97
97
/** The method symbol of method `clone` in class `scala.Array`. */
98
- def Array_clone : DefDef
98
+ def Array_clone : Symbol
99
99
100
100
/** The method symbol of method `length` in class `scala.Array`. */
101
- def Array_length : DefDef
101
+ def Array_length : Symbol
102
102
103
103
/** The method symbol of method `update` in class `scala.Array`. */
104
- def Array_update : DefDef
104
+ def Array_update : Symbol
105
105
106
106
/** A dummy class symbol that is used to indicate repeated parameters
107
107
* compiled by the Scala compiler.
108
108
*/
109
109
def RepeatedParamClass : Symbol
110
110
111
111
/** The class symbol of class `scala.Option`. */
112
- def OptionClass : ClassDef
112
+ def OptionClass : Symbol
113
113
114
114
/** The module symbol of module `scala.None`. */
115
- def NoneModule : ValDef
115
+ def NoneModule : Symbol
116
116
117
117
/** The module symbol of module `scala.Some`. */
118
- def SomeModule : ValDef
118
+ def SomeModule : Symbol
119
119
120
120
/** Function-like object that maps arity to symbols for classes `scala.Product` */
121
- def ProductClass : ClassDef
121
+ def ProductClass : Symbol
122
122
123
123
/** Function-like object that maps arity to symbols for classes `scala.FunctionX`.
124
124
* - 0th element is `Function0`
125
125
* - 1st element is `Function1`
126
126
* - ...
127
127
* - Nth element is `FunctionN`
128
128
*/
129
- def FunctionClass (arity : Int , isImplicit : Boolean = false , isErased : Boolean = false ): ClassDef
129
+ def FunctionClass (arity : Int , isImplicit : Boolean = false , isErased : Boolean = false ): Symbol
130
130
131
131
/** Function-like object that maps arity to symbols for classes `scala.TupleX`.
132
132
* - 0th element is `NoSymbol`
@@ -137,7 +137,7 @@ trait StandardDefinitions extends TastyCore {
137
137
* - 23nd element is `NoSymbol` // TODO update when we will have more tuples
138
138
* - ...
139
139
*/
140
- def TupleClass (arity : Int ): ClassDef
140
+ def TupleClass (arity : Int ): Symbol
141
141
142
142
/** Contains Scala primitive value classes:
143
143
* - Byte
@@ -150,7 +150,7 @@ trait StandardDefinitions extends TastyCore {
150
150
* - Boolean
151
151
* - Unit
152
152
*/
153
- def ScalaPrimitiveValueClasses : List [ClassDef ]
153
+ def ScalaPrimitiveValueClasses : List [Symbol ]
154
154
155
155
/** Contains Scala numeric value classes:
156
156
* - Byte
@@ -161,7 +161,7 @@ trait StandardDefinitions extends TastyCore {
161
161
* - Double
162
162
* - Char
163
163
*/
164
- def ScalaNumericValueClasses : List [ClassDef ]
164
+ def ScalaNumericValueClasses : List [Symbol ]
165
165
}
166
166
167
167
/** Defines standard types.
0 commit comments