OLD | NEW |
1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
3 | 3 |
4 library engine.element; | 4 library engine.element; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'java_core.dart'; | 7 import 'java_core.dart'; |
8 import 'java_engine.dart'; | 8 import 'java_engine.dart'; |
9 import 'source.dart'; | 9 import 'source.dart'; |
10 import 'scanner.dart' show Keyword; | 10 import 'scanner.dart' show Keyword; |
(...skipping 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2126 * Initialize a newly created location to represent the given element. | 2126 * Initialize a newly created location to represent the given element. |
2127 * @param element the element whose location is being represented | 2127 * @param element the element whose location is being represented |
2128 */ | 2128 */ |
2129 ElementLocationImpl.con1(Element element) { | 2129 ElementLocationImpl.con1(Element element) { |
2130 _jtd_constructor_180_impl(element); | 2130 _jtd_constructor_180_impl(element); |
2131 } | 2131 } |
2132 _jtd_constructor_180_impl(Element element) { | 2132 _jtd_constructor_180_impl(Element element) { |
2133 List<String> components = new List<String>(); | 2133 List<String> components = new List<String>(); |
2134 Element ancestor = element; | 2134 Element ancestor = element; |
2135 while (ancestor != null) { | 2135 while (ancestor != null) { |
2136 components.insertRange(0, 1, ((ancestor as ElementImpl)).identifier); | 2136 components.insert(0, ((ancestor as ElementImpl)).identifier); |
2137 ancestor = ancestor.enclosingElement; | 2137 ancestor = ancestor.enclosingElement; |
2138 } | 2138 } |
2139 this._components = new List.from(components); | 2139 this._components = new List.from(components); |
2140 } | 2140 } |
2141 /** | 2141 /** |
2142 * Initialize a newly created location from the given encoded form. | 2142 * Initialize a newly created location from the given encoded form. |
2143 * @param encoding the encoded form of a location | 2143 * @param encoding the encoded form of a location |
2144 */ | 2144 */ |
2145 ElementLocationImpl.con2(String encoding) { | 2145 ElementLocationImpl.con2(String encoding) { |
2146 _jtd_constructor_181_impl(encoding); | 2146 _jtd_constructor_181_impl(encoding); |
(...skipping 2760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4907 abstract class TypeVariableType implements Type2 { | 4907 abstract class TypeVariableType implements Type2 { |
4908 TypeVariableElement get element; | 4908 TypeVariableElement get element; |
4909 } | 4909 } |
4910 /** | 4910 /** |
4911 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. | 4911 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. |
4912 * @coverage dart.engine.type | 4912 * @coverage dart.engine.type |
4913 */ | 4913 */ |
4914 abstract class VoidType implements Type2 { | 4914 abstract class VoidType implements Type2 { |
4915 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); | 4915 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); |
4916 } | 4916 } |
OLD | NEW |