OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_KERNEL_READER_H_ | 5 #ifndef RUNTIME_VM_KERNEL_READER_H_ |
6 #define RUNTIME_VM_KERNEL_READER_H_ | 6 #define RUNTIME_VM_KERNEL_READER_H_ |
7 | 7 |
8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 void ReadPreliminaryClass(dart::Class* klass, | 104 void ReadPreliminaryClass(dart::Class* klass, |
105 ClassHelper* class_helper, | 105 ClassHelper* class_helper, |
106 intptr_t type_parameter_count); | 106 intptr_t type_parameter_count); |
107 dart::Class& ReadClass(const dart::Library& library, | 107 dart::Class& ReadClass(const dart::Library& library, |
108 const dart::Class& toplevel_class); | 108 const dart::Class& toplevel_class); |
109 void ReadProcedure(const dart::Library& library, | 109 void ReadProcedure(const dart::Library& library, |
110 const dart::Class& owner, | 110 const dart::Class& owner, |
111 bool in_class); | 111 bool in_class); |
112 | 112 |
| 113 void ReadAndSetupTypeParameters(const Object& set_on, |
| 114 intptr_t type_parameter_count, |
| 115 const Class& parameterized_class, |
| 116 const Function& parameterized_function); |
| 117 |
113 RawArray* MakeFunctionsArray(); | 118 RawArray* MakeFunctionsArray(); |
114 | 119 |
115 // If klass's script is not the script at the uri index, return a PatchClass | 120 // If klass's script is not the script at the uri index, return a PatchClass |
116 // for klass whose script corresponds to the uri index. | 121 // for klass whose script corresponds to the uri index. |
117 // Otherwise return klass. | 122 // Otherwise return klass. |
118 const Object& ClassForScriptAt(const dart::Class& klass, | 123 const Object& ClassForScriptAt(const dart::Class& klass, |
119 intptr_t source_uri_index); | 124 intptr_t source_uri_index); |
120 Script& ScriptAt(intptr_t source_uri_index, | 125 Script& ScriptAt(intptr_t source_uri_index, |
121 StringIndex import_uri = StringIndex()); | 126 StringIndex import_uri = StringIndex()); |
122 | 127 |
(...skipping 27 matching lines...) Expand all Loading... |
150 | 155 |
151 GrowableArray<const dart::Function*> functions_; | 156 GrowableArray<const dart::Function*> functions_; |
152 GrowableArray<const dart::Field*> fields_; | 157 GrowableArray<const dart::Field*> fields_; |
153 }; | 158 }; |
154 | 159 |
155 } // namespace kernel | 160 } // namespace kernel |
156 } // namespace dart | 161 } // namespace dart |
157 | 162 |
158 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 163 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
159 #endif // RUNTIME_VM_KERNEL_READER_H_ | 164 #endif // RUNTIME_VM_KERNEL_READER_H_ |
OLD | NEW |