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 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". | 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". |
7 | 7 |
8 library analyzer.src.summary.format; | 8 library analyzer.src.summary.format; |
9 | 9 |
10 import 'dart:convert' as convert; | 10 import 'dart:convert' as convert; |
(...skipping 3379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3390 void set kind(idl.ReferenceKind value) { | 3390 void set kind(idl.ReferenceKind value) { |
3391 this._kind = value; | 3391 this._kind = value; |
3392 } | 3392 } |
3393 | 3393 |
3394 @override | 3394 @override |
3395 int get localIndex => _localIndex ??= 0; | 3395 int get localIndex => _localIndex ??= 0; |
3396 | 3396 |
3397 /** | 3397 /** |
3398 * If [kind] is [ReferenceKind.function] (that is, the entity being referred | 3398 * If [kind] is [ReferenceKind.function] (that is, the entity being referred |
3399 * to is a local function), the index of the function within | 3399 * to is a local function), the index of the function within |
3400 * [UnlinkedExecutable.localFunctions]. If [kind] is | 3400 * [UnlinkedExecutable.localFunctions]. Otherwise zero. |
3401 * [ReferenceKind.variable], the index of the variable within | |
3402 * [UnlinkedExecutable.localVariables]. Otherwise zero. | |
3403 */ | 3401 */ |
3404 void set localIndex(int value) { | 3402 void set localIndex(int value) { |
3405 assert(value == null || value >= 0); | 3403 assert(value == null || value >= 0); |
3406 this._localIndex = value; | 3404 this._localIndex = value; |
3407 } | 3405 } |
3408 | 3406 |
3409 @override | 3407 @override |
3410 String get name => _name ??= ''; | 3408 String get name => _name ??= ''; |
3411 | 3409 |
3412 /** | 3410 /** |
(...skipping 3966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7379 bool _isAsynchronous; | 7377 bool _isAsynchronous; |
7380 bool _isConst; | 7378 bool _isConst; |
7381 bool _isExternal; | 7379 bool _isExternal; |
7382 bool _isFactory; | 7380 bool _isFactory; |
7383 bool _isGenerator; | 7381 bool _isGenerator; |
7384 bool _isRedirectedConstructor; | 7382 bool _isRedirectedConstructor; |
7385 bool _isStatic; | 7383 bool _isStatic; |
7386 idl.UnlinkedExecutableKind _kind; | 7384 idl.UnlinkedExecutableKind _kind; |
7387 List<UnlinkedExecutableBuilder> _localFunctions; | 7385 List<UnlinkedExecutableBuilder> _localFunctions; |
7388 List<UnlinkedLabelBuilder> _localLabels; | 7386 List<UnlinkedLabelBuilder> _localLabels; |
7389 List<UnlinkedVariableBuilder> _localVariables; | |
7390 String _name; | 7387 String _name; |
7391 int _nameEnd; | 7388 int _nameEnd; |
7392 int _nameOffset; | 7389 int _nameOffset; |
7393 List<UnlinkedParamBuilder> _parameters; | 7390 List<UnlinkedParamBuilder> _parameters; |
7394 int _periodOffset; | 7391 int _periodOffset; |
7395 EntityRefBuilder _redirectedConstructor; | 7392 EntityRefBuilder _redirectedConstructor; |
7396 String _redirectedConstructorName; | 7393 String _redirectedConstructorName; |
7397 EntityRefBuilder _returnType; | 7394 EntityRefBuilder _returnType; |
7398 List<UnlinkedTypeParamBuilder> _typeParameters; | 7395 List<UnlinkedTypeParamBuilder> _typeParameters; |
7399 int _visibleLength; | 7396 int _visibleLength; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7601 | 7598 |
7602 /** | 7599 /** |
7603 * The list of local labels. | 7600 * The list of local labels. |
7604 */ | 7601 */ |
7605 void set localLabels(List<UnlinkedLabelBuilder> value) { | 7602 void set localLabels(List<UnlinkedLabelBuilder> value) { |
7606 this._localLabels = value; | 7603 this._localLabels = value; |
7607 } | 7604 } |
7608 | 7605 |
7609 @override | 7606 @override |
7610 List<UnlinkedVariableBuilder> get localVariables => | 7607 List<UnlinkedVariableBuilder> get localVariables => |
7611 _localVariables ??= <UnlinkedVariableBuilder>[]; | 7608 throw new UnimplementedError('attempt to access deprecated field'); |
7612 | |
7613 /** | |
7614 * The list of local variables. | |
7615 */ | |
7616 void set localVariables(List<UnlinkedVariableBuilder> value) { | |
7617 this._localVariables = value; | |
7618 } | |
7619 | 7609 |
7620 @override | 7610 @override |
7621 String get name => _name ??= ''; | 7611 String get name => _name ??= ''; |
7622 | 7612 |
7623 /** | 7613 /** |
7624 * Name of the executable. For setters, this includes the trailing "=". For | 7614 * Name of the executable. For setters, this includes the trailing "=". For |
7625 * named constructors, this excludes the class name and excludes the ".". | 7615 * named constructors, this excludes the class name and excludes the ".". |
7626 * For unnamed constructors, this is the empty string. | 7616 * For unnamed constructors, this is the empty string. |
7627 */ | 7617 */ |
7628 void set name(String value) { | 7618 void set name(String value) { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7763 bool isAsynchronous, | 7753 bool isAsynchronous, |
7764 bool isConst, | 7754 bool isConst, |
7765 bool isExternal, | 7755 bool isExternal, |
7766 bool isFactory, | 7756 bool isFactory, |
7767 bool isGenerator, | 7757 bool isGenerator, |
7768 bool isRedirectedConstructor, | 7758 bool isRedirectedConstructor, |
7769 bool isStatic, | 7759 bool isStatic, |
7770 idl.UnlinkedExecutableKind kind, | 7760 idl.UnlinkedExecutableKind kind, |
7771 List<UnlinkedExecutableBuilder> localFunctions, | 7761 List<UnlinkedExecutableBuilder> localFunctions, |
7772 List<UnlinkedLabelBuilder> localLabels, | 7762 List<UnlinkedLabelBuilder> localLabels, |
7773 List<UnlinkedVariableBuilder> localVariables, | |
7774 String name, | 7763 String name, |
7775 int nameEnd, | 7764 int nameEnd, |
7776 int nameOffset, | 7765 int nameOffset, |
7777 List<UnlinkedParamBuilder> parameters, | 7766 List<UnlinkedParamBuilder> parameters, |
7778 int periodOffset, | 7767 int periodOffset, |
7779 EntityRefBuilder redirectedConstructor, | 7768 EntityRefBuilder redirectedConstructor, |
7780 String redirectedConstructorName, | 7769 String redirectedConstructorName, |
7781 EntityRefBuilder returnType, | 7770 EntityRefBuilder returnType, |
7782 List<UnlinkedTypeParamBuilder> typeParameters, | 7771 List<UnlinkedTypeParamBuilder> typeParameters, |
7783 int visibleLength, | 7772 int visibleLength, |
7784 int visibleOffset}) | 7773 int visibleOffset}) |
7785 : _annotations = annotations, | 7774 : _annotations = annotations, |
7786 _bodyExpr = bodyExpr, | 7775 _bodyExpr = bodyExpr, |
7787 _codeRange = codeRange, | 7776 _codeRange = codeRange, |
7788 _constantInitializers = constantInitializers, | 7777 _constantInitializers = constantInitializers, |
7789 _constCycleSlot = constCycleSlot, | 7778 _constCycleSlot = constCycleSlot, |
7790 _documentationComment = documentationComment, | 7779 _documentationComment = documentationComment, |
7791 _inferredReturnTypeSlot = inferredReturnTypeSlot, | 7780 _inferredReturnTypeSlot = inferredReturnTypeSlot, |
7792 _isAbstract = isAbstract, | 7781 _isAbstract = isAbstract, |
7793 _isAsynchronous = isAsynchronous, | 7782 _isAsynchronous = isAsynchronous, |
7794 _isConst = isConst, | 7783 _isConst = isConst, |
7795 _isExternal = isExternal, | 7784 _isExternal = isExternal, |
7796 _isFactory = isFactory, | 7785 _isFactory = isFactory, |
7797 _isGenerator = isGenerator, | 7786 _isGenerator = isGenerator, |
7798 _isRedirectedConstructor = isRedirectedConstructor, | 7787 _isRedirectedConstructor = isRedirectedConstructor, |
7799 _isStatic = isStatic, | 7788 _isStatic = isStatic, |
7800 _kind = kind, | 7789 _kind = kind, |
7801 _localFunctions = localFunctions, | 7790 _localFunctions = localFunctions, |
7802 _localLabels = localLabels, | 7791 _localLabels = localLabels, |
7803 _localVariables = localVariables, | |
7804 _name = name, | 7792 _name = name, |
7805 _nameEnd = nameEnd, | 7793 _nameEnd = nameEnd, |
7806 _nameOffset = nameOffset, | 7794 _nameOffset = nameOffset, |
7807 _parameters = parameters, | 7795 _parameters = parameters, |
7808 _periodOffset = periodOffset, | 7796 _periodOffset = periodOffset, |
7809 _redirectedConstructor = redirectedConstructor, | 7797 _redirectedConstructor = redirectedConstructor, |
7810 _redirectedConstructorName = redirectedConstructorName, | 7798 _redirectedConstructorName = redirectedConstructorName, |
7811 _returnType = returnType, | 7799 _returnType = returnType, |
7812 _typeParameters = typeParameters, | 7800 _typeParameters = typeParameters, |
7813 _visibleLength = visibleLength, | 7801 _visibleLength = visibleLength, |
7814 _visibleOffset = visibleOffset; | 7802 _visibleOffset = visibleOffset; |
7815 | 7803 |
7816 /** | 7804 /** |
7817 * Flush [informative] data recursively. | 7805 * Flush [informative] data recursively. |
7818 */ | 7806 */ |
7819 void flushInformative() { | 7807 void flushInformative() { |
7820 _annotations?.forEach((b) => b.flushInformative()); | 7808 _annotations?.forEach((b) => b.flushInformative()); |
7821 _bodyExpr?.flushInformative(); | 7809 _bodyExpr?.flushInformative(); |
7822 _codeRange = null; | 7810 _codeRange = null; |
7823 _constantInitializers?.forEach((b) => b.flushInformative()); | 7811 _constantInitializers?.forEach((b) => b.flushInformative()); |
7824 _documentationComment = null; | 7812 _documentationComment = null; |
7825 _isAsynchronous = null; | 7813 _isAsynchronous = null; |
7826 _isGenerator = null; | 7814 _isGenerator = null; |
7827 _localFunctions?.forEach((b) => b.flushInformative()); | 7815 _localFunctions?.forEach((b) => b.flushInformative()); |
7828 _localLabels = null; | 7816 _localLabels = null; |
7829 _localVariables = null; | |
7830 _nameEnd = null; | 7817 _nameEnd = null; |
7831 _nameOffset = null; | 7818 _nameOffset = null; |
7832 _parameters?.forEach((b) => b.flushInformative()); | 7819 _parameters?.forEach((b) => b.flushInformative()); |
7833 _periodOffset = null; | 7820 _periodOffset = null; |
7834 _redirectedConstructor?.flushInformative(); | 7821 _redirectedConstructor?.flushInformative(); |
7835 _returnType?.flushInformative(); | 7822 _returnType?.flushInformative(); |
7836 _typeParameters?.forEach((b) => b.flushInformative()); | 7823 _typeParameters?.forEach((b) => b.flushInformative()); |
7837 _visibleLength = null; | 7824 _visibleLength = null; |
7838 _visibleOffset = null; | 7825 _visibleOffset = null; |
7839 } | 7826 } |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7902 } | 7889 } |
7903 | 7890 |
7904 fb.Offset finish(fb.Builder fbBuilder) { | 7891 fb.Offset finish(fb.Builder fbBuilder) { |
7905 fb.Offset offset_annotations; | 7892 fb.Offset offset_annotations; |
7906 fb.Offset offset_bodyExpr; | 7893 fb.Offset offset_bodyExpr; |
7907 fb.Offset offset_codeRange; | 7894 fb.Offset offset_codeRange; |
7908 fb.Offset offset_constantInitializers; | 7895 fb.Offset offset_constantInitializers; |
7909 fb.Offset offset_documentationComment; | 7896 fb.Offset offset_documentationComment; |
7910 fb.Offset offset_localFunctions; | 7897 fb.Offset offset_localFunctions; |
7911 fb.Offset offset_localLabels; | 7898 fb.Offset offset_localLabels; |
7912 fb.Offset offset_localVariables; | |
7913 fb.Offset offset_name; | 7899 fb.Offset offset_name; |
7914 fb.Offset offset_parameters; | 7900 fb.Offset offset_parameters; |
7915 fb.Offset offset_redirectedConstructor; | 7901 fb.Offset offset_redirectedConstructor; |
7916 fb.Offset offset_redirectedConstructorName; | 7902 fb.Offset offset_redirectedConstructorName; |
7917 fb.Offset offset_returnType; | 7903 fb.Offset offset_returnType; |
7918 fb.Offset offset_typeParameters; | 7904 fb.Offset offset_typeParameters; |
7919 if (!(_annotations == null || _annotations.isEmpty)) { | 7905 if (!(_annotations == null || _annotations.isEmpty)) { |
7920 offset_annotations = fbBuilder | 7906 offset_annotations = fbBuilder |
7921 .writeList(_annotations.map((b) => b.finish(fbBuilder)).toList()); | 7907 .writeList(_annotations.map((b) => b.finish(fbBuilder)).toList()); |
7922 } | 7908 } |
(...skipping 11 matching lines...) Expand all Loading... |
7934 offset_documentationComment = _documentationComment.finish(fbBuilder); | 7920 offset_documentationComment = _documentationComment.finish(fbBuilder); |
7935 } | 7921 } |
7936 if (!(_localFunctions == null || _localFunctions.isEmpty)) { | 7922 if (!(_localFunctions == null || _localFunctions.isEmpty)) { |
7937 offset_localFunctions = fbBuilder | 7923 offset_localFunctions = fbBuilder |
7938 .writeList(_localFunctions.map((b) => b.finish(fbBuilder)).toList()); | 7924 .writeList(_localFunctions.map((b) => b.finish(fbBuilder)).toList()); |
7939 } | 7925 } |
7940 if (!(_localLabels == null || _localLabels.isEmpty)) { | 7926 if (!(_localLabels == null || _localLabels.isEmpty)) { |
7941 offset_localLabels = fbBuilder | 7927 offset_localLabels = fbBuilder |
7942 .writeList(_localLabels.map((b) => b.finish(fbBuilder)).toList()); | 7928 .writeList(_localLabels.map((b) => b.finish(fbBuilder)).toList()); |
7943 } | 7929 } |
7944 if (!(_localVariables == null || _localVariables.isEmpty)) { | |
7945 offset_localVariables = fbBuilder | |
7946 .writeList(_localVariables.map((b) => b.finish(fbBuilder)).toList()); | |
7947 } | |
7948 if (_name != null) { | 7930 if (_name != null) { |
7949 offset_name = fbBuilder.writeString(_name); | 7931 offset_name = fbBuilder.writeString(_name); |
7950 } | 7932 } |
7951 if (!(_parameters == null || _parameters.isEmpty)) { | 7933 if (!(_parameters == null || _parameters.isEmpty)) { |
7952 offset_parameters = fbBuilder | 7934 offset_parameters = fbBuilder |
7953 .writeList(_parameters.map((b) => b.finish(fbBuilder)).toList()); | 7935 .writeList(_parameters.map((b) => b.finish(fbBuilder)).toList()); |
7954 } | 7936 } |
7955 if (_redirectedConstructor != null) { | 7937 if (_redirectedConstructor != null) { |
7956 offset_redirectedConstructor = _redirectedConstructor.finish(fbBuilder); | 7938 offset_redirectedConstructor = _redirectedConstructor.finish(fbBuilder); |
7957 } | 7939 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8014 } | 7996 } |
8015 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { | 7997 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { |
8016 fbBuilder.addUint8(4, _kind.index); | 7998 fbBuilder.addUint8(4, _kind.index); |
8017 } | 7999 } |
8018 if (offset_localFunctions != null) { | 8000 if (offset_localFunctions != null) { |
8019 fbBuilder.addOffset(18, offset_localFunctions); | 8001 fbBuilder.addOffset(18, offset_localFunctions); |
8020 } | 8002 } |
8021 if (offset_localLabels != null) { | 8003 if (offset_localLabels != null) { |
8022 fbBuilder.addOffset(22, offset_localLabels); | 8004 fbBuilder.addOffset(22, offset_localLabels); |
8023 } | 8005 } |
8024 if (offset_localVariables != null) { | |
8025 fbBuilder.addOffset(19, offset_localVariables); | |
8026 } | |
8027 if (offset_name != null) { | 8006 if (offset_name != null) { |
8028 fbBuilder.addOffset(1, offset_name); | 8007 fbBuilder.addOffset(1, offset_name); |
8029 } | 8008 } |
8030 if (_nameEnd != null && _nameEnd != 0) { | 8009 if (_nameEnd != null && _nameEnd != 0) { |
8031 fbBuilder.addUint32(23, _nameEnd); | 8010 fbBuilder.addUint32(23, _nameEnd); |
8032 } | 8011 } |
8033 if (_nameOffset != null && _nameOffset != 0) { | 8012 if (_nameOffset != null && _nameOffset != 0) { |
8034 fbBuilder.addUint32(0, _nameOffset); | 8013 fbBuilder.addUint32(0, _nameOffset); |
8035 } | 8014 } |
8036 if (offset_parameters != null) { | 8015 if (offset_parameters != null) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8089 bool _isAsynchronous; | 8068 bool _isAsynchronous; |
8090 bool _isConst; | 8069 bool _isConst; |
8091 bool _isExternal; | 8070 bool _isExternal; |
8092 bool _isFactory; | 8071 bool _isFactory; |
8093 bool _isGenerator; | 8072 bool _isGenerator; |
8094 bool _isRedirectedConstructor; | 8073 bool _isRedirectedConstructor; |
8095 bool _isStatic; | 8074 bool _isStatic; |
8096 idl.UnlinkedExecutableKind _kind; | 8075 idl.UnlinkedExecutableKind _kind; |
8097 List<idl.UnlinkedExecutable> _localFunctions; | 8076 List<idl.UnlinkedExecutable> _localFunctions; |
8098 List<idl.UnlinkedLabel> _localLabels; | 8077 List<idl.UnlinkedLabel> _localLabels; |
8099 List<idl.UnlinkedVariable> _localVariables; | |
8100 String _name; | 8078 String _name; |
8101 int _nameEnd; | 8079 int _nameEnd; |
8102 int _nameOffset; | 8080 int _nameOffset; |
8103 List<idl.UnlinkedParam> _parameters; | 8081 List<idl.UnlinkedParam> _parameters; |
8104 int _periodOffset; | 8082 int _periodOffset; |
8105 idl.EntityRef _redirectedConstructor; | 8083 idl.EntityRef _redirectedConstructor; |
8106 String _redirectedConstructorName; | 8084 String _redirectedConstructorName; |
8107 idl.EntityRef _returnType; | 8085 idl.EntityRef _returnType; |
8108 List<idl.UnlinkedTypeParam> _typeParameters; | 8086 List<idl.UnlinkedTypeParam> _typeParameters; |
8109 int _visibleLength; | 8087 int _visibleLength; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8228 | 8206 |
8229 @override | 8207 @override |
8230 List<idl.UnlinkedLabel> get localLabels { | 8208 List<idl.UnlinkedLabel> get localLabels { |
8231 _localLabels ??= | 8209 _localLabels ??= |
8232 const fb.ListReader<idl.UnlinkedLabel>(const _UnlinkedLabelReader()) | 8210 const fb.ListReader<idl.UnlinkedLabel>(const _UnlinkedLabelReader()) |
8233 .vTableGet(_bc, _bcOffset, 22, const <idl.UnlinkedLabel>[]); | 8211 .vTableGet(_bc, _bcOffset, 22, const <idl.UnlinkedLabel>[]); |
8234 return _localLabels; | 8212 return _localLabels; |
8235 } | 8213 } |
8236 | 8214 |
8237 @override | 8215 @override |
8238 List<idl.UnlinkedVariable> get localVariables { | 8216 List<idl.UnlinkedVariable> get localVariables => |
8239 _localVariables ??= const fb.ListReader<idl.UnlinkedVariable>( | 8217 throw new UnimplementedError('attempt to access deprecated field'); |
8240 const _UnlinkedVariableReader()) | |
8241 .vTableGet(_bc, _bcOffset, 19, const <idl.UnlinkedVariable>[]); | |
8242 return _localVariables; | |
8243 } | |
8244 | 8218 |
8245 @override | 8219 @override |
8246 String get name { | 8220 String get name { |
8247 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); | 8221 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); |
8248 return _name; | 8222 return _name; |
8249 } | 8223 } |
8250 | 8224 |
8251 @override | 8225 @override |
8252 int get nameEnd { | 8226 int get nameEnd { |
8253 _nameEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 23, 0); | 8227 _nameEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 23, 0); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8342 _result["isRedirectedConstructor"] = isRedirectedConstructor; | 8316 _result["isRedirectedConstructor"] = isRedirectedConstructor; |
8343 if (isStatic != false) _result["isStatic"] = isStatic; | 8317 if (isStatic != false) _result["isStatic"] = isStatic; |
8344 if (kind != idl.UnlinkedExecutableKind.functionOrMethod) | 8318 if (kind != idl.UnlinkedExecutableKind.functionOrMethod) |
8345 _result["kind"] = kind.toString().split('.')[1]; | 8319 _result["kind"] = kind.toString().split('.')[1]; |
8346 if (localFunctions.isNotEmpty) | 8320 if (localFunctions.isNotEmpty) |
8347 _result["localFunctions"] = | 8321 _result["localFunctions"] = |
8348 localFunctions.map((_value) => _value.toJson()).toList(); | 8322 localFunctions.map((_value) => _value.toJson()).toList(); |
8349 if (localLabels.isNotEmpty) | 8323 if (localLabels.isNotEmpty) |
8350 _result["localLabels"] = | 8324 _result["localLabels"] = |
8351 localLabels.map((_value) => _value.toJson()).toList(); | 8325 localLabels.map((_value) => _value.toJson()).toList(); |
8352 if (localVariables.isNotEmpty) | |
8353 _result["localVariables"] = | |
8354 localVariables.map((_value) => _value.toJson()).toList(); | |
8355 if (name != '') _result["name"] = name; | 8326 if (name != '') _result["name"] = name; |
8356 if (nameEnd != 0) _result["nameEnd"] = nameEnd; | 8327 if (nameEnd != 0) _result["nameEnd"] = nameEnd; |
8357 if (nameOffset != 0) _result["nameOffset"] = nameOffset; | 8328 if (nameOffset != 0) _result["nameOffset"] = nameOffset; |
8358 if (parameters.isNotEmpty) | 8329 if (parameters.isNotEmpty) |
8359 _result["parameters"] = | 8330 _result["parameters"] = |
8360 parameters.map((_value) => _value.toJson()).toList(); | 8331 parameters.map((_value) => _value.toJson()).toList(); |
8361 if (periodOffset != 0) _result["periodOffset"] = periodOffset; | 8332 if (periodOffset != 0) _result["periodOffset"] = periodOffset; |
8362 if (redirectedConstructor != null) | 8333 if (redirectedConstructor != null) |
8363 _result["redirectedConstructor"] = redirectedConstructor.toJson(); | 8334 _result["redirectedConstructor"] = redirectedConstructor.toJson(); |
8364 if (redirectedConstructorName != '') | 8335 if (redirectedConstructorName != '') |
(...skipping 20 matching lines...) Expand all Loading... |
8385 "isAsynchronous": isAsynchronous, | 8356 "isAsynchronous": isAsynchronous, |
8386 "isConst": isConst, | 8357 "isConst": isConst, |
8387 "isExternal": isExternal, | 8358 "isExternal": isExternal, |
8388 "isFactory": isFactory, | 8359 "isFactory": isFactory, |
8389 "isGenerator": isGenerator, | 8360 "isGenerator": isGenerator, |
8390 "isRedirectedConstructor": isRedirectedConstructor, | 8361 "isRedirectedConstructor": isRedirectedConstructor, |
8391 "isStatic": isStatic, | 8362 "isStatic": isStatic, |
8392 "kind": kind, | 8363 "kind": kind, |
8393 "localFunctions": localFunctions, | 8364 "localFunctions": localFunctions, |
8394 "localLabels": localLabels, | 8365 "localLabels": localLabels, |
8395 "localVariables": localVariables, | |
8396 "name": name, | 8366 "name": name, |
8397 "nameEnd": nameEnd, | 8367 "nameEnd": nameEnd, |
8398 "nameOffset": nameOffset, | 8368 "nameOffset": nameOffset, |
8399 "parameters": parameters, | 8369 "parameters": parameters, |
8400 "periodOffset": periodOffset, | 8370 "periodOffset": periodOffset, |
8401 "redirectedConstructor": redirectedConstructor, | 8371 "redirectedConstructor": redirectedConstructor, |
8402 "redirectedConstructorName": redirectedConstructorName, | 8372 "redirectedConstructorName": redirectedConstructorName, |
8403 "returnType": returnType, | 8373 "returnType": returnType, |
8404 "typeParameters": typeParameters, | 8374 "typeParameters": typeParameters, |
8405 "visibleLength": visibleLength, | 8375 "visibleLength": visibleLength, |
(...skipping 4498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12904 "nameOffset": nameOffset, | 12874 "nameOffset": nameOffset, |
12905 "propagatedTypeSlot": propagatedTypeSlot, | 12875 "propagatedTypeSlot": propagatedTypeSlot, |
12906 "type": type, | 12876 "type": type, |
12907 "visibleLength": visibleLength, | 12877 "visibleLength": visibleLength, |
12908 "visibleOffset": visibleOffset, | 12878 "visibleOffset": visibleOffset, |
12909 }; | 12879 }; |
12910 | 12880 |
12911 @override | 12881 @override |
12912 String toString() => convert.JSON.encode(toJson()); | 12882 String toString() => convert.JSON.encode(toJson()); |
12913 } | 12883 } |
OLD | NEW |