| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// Implementation of the element model used for deserialiation. | 5 /// Implementation of the element model used for deserialiation. |
| 6 /// | 6 /// |
| 7 /// These classes are created by [ElementDeserializer] triggered by the | 7 /// These classes are created by [ElementDeserializer] triggered by the |
| 8 /// [Deserializer]. | 8 /// [Deserializer]. |
| 9 | 9 |
| 10 library dart2js.serialization.modelz; | 10 library dart2js.serialization.modelz; |
| (...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1860 FunctionElement get functionDeclaration { | 1860 FunctionElement get functionDeclaration { |
| 1861 if (_functionDeclaration == null) { | 1861 if (_functionDeclaration == null) { |
| 1862 _functionDeclaration = _decoder.getElement(Key.FUNCTION); | 1862 _functionDeclaration = _decoder.getElement(Key.FUNCTION); |
| 1863 } | 1863 } |
| 1864 return _functionDeclaration; | 1864 return _functionDeclaration; |
| 1865 } | 1865 } |
| 1866 | 1866 |
| 1867 @override | 1867 @override |
| 1868 FunctionSignature get functionSignature => _unsupported('functionSignature'); | 1868 FunctionSignature get functionSignature => _unsupported('functionSignature'); |
| 1869 | 1869 |
| 1870 // TODO(johnniwinther): HACK. Remove [initializer] and [node] on | 1870 // TODO(johnniwinther): Remove [initializer] and [node] on |
| 1871 // [ParameterElementZ] when the inference does need these. | 1871 // [ParameterElementZ] when the inference does need these. |
| 1872 @override | 1872 @override |
| 1873 Expression get initializer => null; | 1873 Expression initializer; |
| 1874 | 1874 |
| 1875 @override | 1875 @override |
| 1876 Node get node => null; | 1876 Node node; |
| 1877 | 1877 |
| 1878 @override | 1878 @override |
| 1879 bool get isNamed => _decoder.getBool(Key.IS_NAMED); | 1879 bool get isNamed => _decoder.getBool(Key.IS_NAMED); |
| 1880 | 1880 |
| 1881 @override | 1881 @override |
| 1882 bool get isOptional => _decoder.getBool(Key.IS_OPTIONAL); | 1882 bool get isOptional => _decoder.getBool(Key.IS_OPTIONAL); |
| 1883 | 1883 |
| 1884 @override | 1884 @override |
| 1885 LibraryElement get library => executableContext.library; | 1885 LibraryElement get library => executableContext.library; |
| 1886 | 1886 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2101 } | 2101 } |
| 2102 | 2102 |
| 2103 @override | 2103 @override |
| 2104 ElementKind get kind => ElementKind.PREFIX; | 2104 ElementKind get kind => ElementKind.PREFIX; |
| 2105 | 2105 |
| 2106 @override | 2106 @override |
| 2107 Element lookupLocalMember(String memberName) { | 2107 Element lookupLocalMember(String memberName) { |
| 2108 return _unsupported('lookupLocalMember'); | 2108 return _unsupported('lookupLocalMember'); |
| 2109 } | 2109 } |
| 2110 } | 2110 } |
| OLD | NEW |