| 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 'flat_buffers.dart' as fb; | 10 import 'flat_buffers.dart' as fb; |
| (...skipping 2407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2418 "nameOffset": nameOffset, | 2418 "nameOffset": nameOffset, |
| 2419 }; | 2419 }; |
| 2420 } | 2420 } |
| 2421 | 2421 |
| 2422 class UnlinkedExecutableBuilder extends Object with _UnlinkedExecutableMixin imp
lements idl.UnlinkedExecutable { | 2422 class UnlinkedExecutableBuilder extends Object with _UnlinkedExecutableMixin imp
lements idl.UnlinkedExecutable { |
| 2423 bool _finished = false; | 2423 bool _finished = false; |
| 2424 | 2424 |
| 2425 List<UnlinkedConstBuilder> _annotations; | 2425 List<UnlinkedConstBuilder> _annotations; |
| 2426 List<UnlinkedConstructorInitializerBuilder> _constantInitializers; | 2426 List<UnlinkedConstructorInitializerBuilder> _constantInitializers; |
| 2427 UnlinkedDocumentationCommentBuilder _documentationComment; | 2427 UnlinkedDocumentationCommentBuilder _documentationComment; |
| 2428 List<UnlinkedExecutableBuilder> _executables; |
| 2428 int _inferredReturnTypeSlot; | 2429 int _inferredReturnTypeSlot; |
| 2429 bool _isAbstract; | 2430 bool _isAbstract; |
| 2430 bool _isConst; | 2431 bool _isConst; |
| 2431 bool _isExternal; | 2432 bool _isExternal; |
| 2432 bool _isFactory; | 2433 bool _isFactory; |
| 2433 bool _isRedirectedConstructor; | 2434 bool _isRedirectedConstructor; |
| 2434 bool _isStatic; | 2435 bool _isStatic; |
| 2435 idl.UnlinkedExecutableKind _kind; | 2436 idl.UnlinkedExecutableKind _kind; |
| 2436 String _name; | 2437 String _name; |
| 2437 int _nameOffset; | 2438 int _nameOffset; |
| 2438 List<UnlinkedParamBuilder> _parameters; | 2439 List<UnlinkedParamBuilder> _parameters; |
| 2439 EntityRefBuilder _redirectedConstructor; | 2440 EntityRefBuilder _redirectedConstructor; |
| 2440 String _redirectedConstructorName; | 2441 String _redirectedConstructorName; |
| 2441 EntityRefBuilder _returnType; | 2442 EntityRefBuilder _returnType; |
| 2442 List<UnlinkedTypeParamBuilder> _typeParameters; | 2443 List<UnlinkedTypeParamBuilder> _typeParameters; |
| 2444 List<UnlinkedVariableBuilder> _variables; |
| 2445 int _visibleLength; |
| 2446 int _visibleOffset; |
| 2443 | 2447 |
| 2444 @override | 2448 @override |
| 2445 List<UnlinkedConstBuilder> get annotations => _annotations ??= <UnlinkedConstB
uilder>[]; | 2449 List<UnlinkedConstBuilder> get annotations => _annotations ??= <UnlinkedConstB
uilder>[]; |
| 2446 | 2450 |
| 2447 /** | 2451 /** |
| 2448 * Annotations for this executable. | 2452 * Annotations for this executable. |
| 2449 */ | 2453 */ |
| 2450 void set annotations(List<UnlinkedConstBuilder> _value) { | 2454 void set annotations(List<UnlinkedConstBuilder> _value) { |
| 2451 assert(!_finished); | 2455 assert(!_finished); |
| 2452 _annotations = _value; | 2456 _annotations = _value; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2470 /** | 2474 /** |
| 2471 * Documentation comment for the executable, or `null` if there is no | 2475 * Documentation comment for the executable, or `null` if there is no |
| 2472 * documentation comment. | 2476 * documentation comment. |
| 2473 */ | 2477 */ |
| 2474 void set documentationComment(UnlinkedDocumentationCommentBuilder _value) { | 2478 void set documentationComment(UnlinkedDocumentationCommentBuilder _value) { |
| 2475 assert(!_finished); | 2479 assert(!_finished); |
| 2476 _documentationComment = _value; | 2480 _documentationComment = _value; |
| 2477 } | 2481 } |
| 2478 | 2482 |
| 2479 @override | 2483 @override |
| 2484 List<UnlinkedExecutableBuilder> get executables => _executables ??= <UnlinkedE
xecutableBuilder>[]; |
| 2485 |
| 2486 /** |
| 2487 * The list of local functions. |
| 2488 */ |
| 2489 void set executables(List<UnlinkedExecutableBuilder> _value) { |
| 2490 assert(!_finished); |
| 2491 _executables = _value; |
| 2492 } |
| 2493 |
| 2494 @override |
| 2480 int get inferredReturnTypeSlot => _inferredReturnTypeSlot ??= 0; | 2495 int get inferredReturnTypeSlot => _inferredReturnTypeSlot ??= 0; |
| 2481 | 2496 |
| 2482 /** | 2497 /** |
| 2483 * If this executable's return type is inferable, nonzero slot id | 2498 * If this executable's return type is inferable, nonzero slot id |
| 2484 * identifying which entry in [LinkedUnit.types] contains the inferred | 2499 * identifying which entry in [LinkedUnit.types] contains the inferred |
| 2485 * return type. If there is no matching entry in [LinkedUnit.types], then | 2500 * return type. If there is no matching entry in [LinkedUnit.types], then |
| 2486 * no return type was inferred for this variable, so its static type is | 2501 * no return type was inferred for this variable, so its static type is |
| 2487 * `dynamic`. | 2502 * `dynamic`. |
| 2488 */ | 2503 */ |
| 2489 void set inferredReturnTypeSlot(int _value) { | 2504 void set inferredReturnTypeSlot(int _value) { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2657 | 2672 |
| 2658 /** | 2673 /** |
| 2659 * Type parameters of the executable, if any. Empty if support for generic | 2674 * Type parameters of the executable, if any. Empty if support for generic |
| 2660 * method syntax is disabled. | 2675 * method syntax is disabled. |
| 2661 */ | 2676 */ |
| 2662 void set typeParameters(List<UnlinkedTypeParamBuilder> _value) { | 2677 void set typeParameters(List<UnlinkedTypeParamBuilder> _value) { |
| 2663 assert(!_finished); | 2678 assert(!_finished); |
| 2664 _typeParameters = _value; | 2679 _typeParameters = _value; |
| 2665 } | 2680 } |
| 2666 | 2681 |
| 2667 UnlinkedExecutableBuilder({List<UnlinkedConstBuilder> annotations, List<Unlink
edConstructorInitializerBuilder> constantInitializers, UnlinkedDocumentationComm
entBuilder documentationComment, int inferredReturnTypeSlot, bool isAbstract, bo
ol isConst, bool isExternal, bool isFactory, bool isRedirectedConstructor, bool
isStatic, idl.UnlinkedExecutableKind kind, String name, int nameOffset, List<Unl
inkedParamBuilder> parameters, EntityRefBuilder redirectedConstructor, String re
directedConstructorName, EntityRefBuilder returnType, List<UnlinkedTypeParamBuil
der> typeParameters}) | 2682 @override |
| 2683 List<UnlinkedVariableBuilder> get variables => _variables ??= <UnlinkedVariabl
eBuilder>[]; |
| 2684 |
| 2685 /** |
| 2686 * The list of local variable. |
| 2687 */ |
| 2688 void set variables(List<UnlinkedVariableBuilder> _value) { |
| 2689 assert(!_finished); |
| 2690 _variables = _value; |
| 2691 } |
| 2692 |
| 2693 @override |
| 2694 int get visibleLength => _visibleLength ??= 0; |
| 2695 |
| 2696 /** |
| 2697 * If a local function, the length of the visible range; absent otherwise. |
| 2698 */ |
| 2699 void set visibleLength(int _value) { |
| 2700 assert(!_finished); |
| 2701 assert(_value == null || _value >= 0); |
| 2702 _visibleLength = _value; |
| 2703 } |
| 2704 |
| 2705 @override |
| 2706 int get visibleOffset => _visibleOffset ??= 0; |
| 2707 |
| 2708 /** |
| 2709 * If a local function, the beginning of the visible range; absent otherwise. |
| 2710 */ |
| 2711 void set visibleOffset(int _value) { |
| 2712 assert(!_finished); |
| 2713 assert(_value == null || _value >= 0); |
| 2714 _visibleOffset = _value; |
| 2715 } |
| 2716 |
| 2717 UnlinkedExecutableBuilder({List<UnlinkedConstBuilder> annotations, List<Unlink
edConstructorInitializerBuilder> constantInitializers, UnlinkedDocumentationComm
entBuilder documentationComment, List<UnlinkedExecutableBuilder> executables, in
t inferredReturnTypeSlot, bool isAbstract, bool isConst, bool isExternal, bool i
sFactory, bool isRedirectedConstructor, bool isStatic, idl.UnlinkedExecutableKin
d kind, String name, int nameOffset, List<UnlinkedParamBuilder> parameters, Enti
tyRefBuilder redirectedConstructor, String redirectedConstructorName, EntityRefB
uilder returnType, List<UnlinkedTypeParamBuilder> typeParameters, List<UnlinkedV
ariableBuilder> variables, int visibleLength, int visibleOffset}) |
| 2668 : _annotations = annotations, | 2718 : _annotations = annotations, |
| 2669 _constantInitializers = constantInitializers, | 2719 _constantInitializers = constantInitializers, |
| 2670 _documentationComment = documentationComment, | 2720 _documentationComment = documentationComment, |
| 2721 _executables = executables, |
| 2671 _inferredReturnTypeSlot = inferredReturnTypeSlot, | 2722 _inferredReturnTypeSlot = inferredReturnTypeSlot, |
| 2672 _isAbstract = isAbstract, | 2723 _isAbstract = isAbstract, |
| 2673 _isConst = isConst, | 2724 _isConst = isConst, |
| 2674 _isExternal = isExternal, | 2725 _isExternal = isExternal, |
| 2675 _isFactory = isFactory, | 2726 _isFactory = isFactory, |
| 2676 _isRedirectedConstructor = isRedirectedConstructor, | 2727 _isRedirectedConstructor = isRedirectedConstructor, |
| 2677 _isStatic = isStatic, | 2728 _isStatic = isStatic, |
| 2678 _kind = kind, | 2729 _kind = kind, |
| 2679 _name = name, | 2730 _name = name, |
| 2680 _nameOffset = nameOffset, | 2731 _nameOffset = nameOffset, |
| 2681 _parameters = parameters, | 2732 _parameters = parameters, |
| 2682 _redirectedConstructor = redirectedConstructor, | 2733 _redirectedConstructor = redirectedConstructor, |
| 2683 _redirectedConstructorName = redirectedConstructorName, | 2734 _redirectedConstructorName = redirectedConstructorName, |
| 2684 _returnType = returnType, | 2735 _returnType = returnType, |
| 2685 _typeParameters = typeParameters; | 2736 _typeParameters = typeParameters, |
| 2737 _variables = variables, |
| 2738 _visibleLength = visibleLength, |
| 2739 _visibleOffset = visibleOffset; |
| 2686 | 2740 |
| 2687 fb.Offset finish(fb.Builder fbBuilder) { | 2741 fb.Offset finish(fb.Builder fbBuilder) { |
| 2688 assert(!_finished); | 2742 assert(!_finished); |
| 2689 _finished = true; | 2743 _finished = true; |
| 2690 fb.Offset offset_annotations; | 2744 fb.Offset offset_annotations; |
| 2691 fb.Offset offset_constantInitializers; | 2745 fb.Offset offset_constantInitializers; |
| 2692 fb.Offset offset_documentationComment; | 2746 fb.Offset offset_documentationComment; |
| 2747 fb.Offset offset_executables; |
| 2693 fb.Offset offset_name; | 2748 fb.Offset offset_name; |
| 2694 fb.Offset offset_parameters; | 2749 fb.Offset offset_parameters; |
| 2695 fb.Offset offset_redirectedConstructor; | 2750 fb.Offset offset_redirectedConstructor; |
| 2696 fb.Offset offset_redirectedConstructorName; | 2751 fb.Offset offset_redirectedConstructorName; |
| 2697 fb.Offset offset_returnType; | 2752 fb.Offset offset_returnType; |
| 2698 fb.Offset offset_typeParameters; | 2753 fb.Offset offset_typeParameters; |
| 2754 fb.Offset offset_variables; |
| 2699 if (!(_annotations == null || _annotations.isEmpty)) { | 2755 if (!(_annotations == null || _annotations.isEmpty)) { |
| 2700 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 2756 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 2701 } | 2757 } |
| 2702 if (!(_constantInitializers == null || _constantInitializers.isEmpty)) { | 2758 if (!(_constantInitializers == null || _constantInitializers.isEmpty)) { |
| 2703 offset_constantInitializers = fbBuilder.writeList(_constantInitializers.ma
p((b) => b.finish(fbBuilder)).toList()); | 2759 offset_constantInitializers = fbBuilder.writeList(_constantInitializers.ma
p((b) => b.finish(fbBuilder)).toList()); |
| 2704 } | 2760 } |
| 2705 if (_documentationComment != null) { | 2761 if (_documentationComment != null) { |
| 2706 offset_documentationComment = _documentationComment.finish(fbBuilder); | 2762 offset_documentationComment = _documentationComment.finish(fbBuilder); |
| 2707 } | 2763 } |
| 2764 if (!(_executables == null || _executables.isEmpty)) { |
| 2765 offset_executables = fbBuilder.writeList(_executables.map((b) => b.finish(
fbBuilder)).toList()); |
| 2766 } |
| 2708 if (_name != null) { | 2767 if (_name != null) { |
| 2709 offset_name = fbBuilder.writeString(_name); | 2768 offset_name = fbBuilder.writeString(_name); |
| 2710 } | 2769 } |
| 2711 if (!(_parameters == null || _parameters.isEmpty)) { | 2770 if (!(_parameters == null || _parameters.isEmpty)) { |
| 2712 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); | 2771 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); |
| 2713 } | 2772 } |
| 2714 if (_redirectedConstructor != null) { | 2773 if (_redirectedConstructor != null) { |
| 2715 offset_redirectedConstructor = _redirectedConstructor.finish(fbBuilder); | 2774 offset_redirectedConstructor = _redirectedConstructor.finish(fbBuilder); |
| 2716 } | 2775 } |
| 2717 if (_redirectedConstructorName != null) { | 2776 if (_redirectedConstructorName != null) { |
| 2718 offset_redirectedConstructorName = fbBuilder.writeString(_redirectedConstr
uctorName); | 2777 offset_redirectedConstructorName = fbBuilder.writeString(_redirectedConstr
uctorName); |
| 2719 } | 2778 } |
| 2720 if (_returnType != null) { | 2779 if (_returnType != null) { |
| 2721 offset_returnType = _returnType.finish(fbBuilder); | 2780 offset_returnType = _returnType.finish(fbBuilder); |
| 2722 } | 2781 } |
| 2723 if (!(_typeParameters == null || _typeParameters.isEmpty)) { | 2782 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 2724 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); | 2783 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 2725 } | 2784 } |
| 2785 if (!(_variables == null || _variables.isEmpty)) { |
| 2786 offset_variables = fbBuilder.writeList(_variables.map((b) => b.finish(fbBu
ilder)).toList()); |
| 2787 } |
| 2726 fbBuilder.startTable(); | 2788 fbBuilder.startTable(); |
| 2727 if (offset_annotations != null) { | 2789 if (offset_annotations != null) { |
| 2728 fbBuilder.addOffset(0, offset_annotations); | 2790 fbBuilder.addOffset(0, offset_annotations); |
| 2729 } | 2791 } |
| 2730 if (offset_constantInitializers != null) { | 2792 if (offset_constantInitializers != null) { |
| 2731 fbBuilder.addOffset(1, offset_constantInitializers); | 2793 fbBuilder.addOffset(1, offset_constantInitializers); |
| 2732 } | 2794 } |
| 2733 if (offset_documentationComment != null) { | 2795 if (offset_documentationComment != null) { |
| 2734 fbBuilder.addOffset(2, offset_documentationComment); | 2796 fbBuilder.addOffset(2, offset_documentationComment); |
| 2735 } | 2797 } |
| 2798 if (offset_executables != null) { |
| 2799 fbBuilder.addOffset(3, offset_executables); |
| 2800 } |
| 2736 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { | 2801 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { |
| 2737 fbBuilder.addUint32(3, _inferredReturnTypeSlot); | 2802 fbBuilder.addUint32(4, _inferredReturnTypeSlot); |
| 2738 } | 2803 } |
| 2739 if (_isAbstract == true) { | 2804 if (_isAbstract == true) { |
| 2740 fbBuilder.addBool(4, true); | 2805 fbBuilder.addBool(5, true); |
| 2741 } | 2806 } |
| 2742 if (_isConst == true) { | 2807 if (_isConst == true) { |
| 2743 fbBuilder.addBool(5, true); | 2808 fbBuilder.addBool(6, true); |
| 2744 } | 2809 } |
| 2745 if (_isExternal == true) { | 2810 if (_isExternal == true) { |
| 2746 fbBuilder.addBool(6, true); | 2811 fbBuilder.addBool(7, true); |
| 2747 } | 2812 } |
| 2748 if (_isFactory == true) { | 2813 if (_isFactory == true) { |
| 2749 fbBuilder.addBool(7, true); | 2814 fbBuilder.addBool(8, true); |
| 2750 } | 2815 } |
| 2751 if (_isRedirectedConstructor == true) { | 2816 if (_isRedirectedConstructor == true) { |
| 2752 fbBuilder.addBool(8, true); | 2817 fbBuilder.addBool(9, true); |
| 2753 } | 2818 } |
| 2754 if (_isStatic == true) { | 2819 if (_isStatic == true) { |
| 2755 fbBuilder.addBool(9, true); | 2820 fbBuilder.addBool(10, true); |
| 2756 } | 2821 } |
| 2757 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { | 2822 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { |
| 2758 fbBuilder.addUint32(10, _kind.index); | 2823 fbBuilder.addUint32(11, _kind.index); |
| 2759 } | 2824 } |
| 2760 if (offset_name != null) { | 2825 if (offset_name != null) { |
| 2761 fbBuilder.addOffset(11, offset_name); | 2826 fbBuilder.addOffset(12, offset_name); |
| 2762 } | 2827 } |
| 2763 if (_nameOffset != null && _nameOffset != 0) { | 2828 if (_nameOffset != null && _nameOffset != 0) { |
| 2764 fbBuilder.addUint32(12, _nameOffset); | 2829 fbBuilder.addUint32(13, _nameOffset); |
| 2765 } | 2830 } |
| 2766 if (offset_parameters != null) { | 2831 if (offset_parameters != null) { |
| 2767 fbBuilder.addOffset(13, offset_parameters); | 2832 fbBuilder.addOffset(14, offset_parameters); |
| 2768 } | 2833 } |
| 2769 if (offset_redirectedConstructor != null) { | 2834 if (offset_redirectedConstructor != null) { |
| 2770 fbBuilder.addOffset(14, offset_redirectedConstructor); | 2835 fbBuilder.addOffset(15, offset_redirectedConstructor); |
| 2771 } | 2836 } |
| 2772 if (offset_redirectedConstructorName != null) { | 2837 if (offset_redirectedConstructorName != null) { |
| 2773 fbBuilder.addOffset(15, offset_redirectedConstructorName); | 2838 fbBuilder.addOffset(16, offset_redirectedConstructorName); |
| 2774 } | 2839 } |
| 2775 if (offset_returnType != null) { | 2840 if (offset_returnType != null) { |
| 2776 fbBuilder.addOffset(16, offset_returnType); | 2841 fbBuilder.addOffset(17, offset_returnType); |
| 2777 } | 2842 } |
| 2778 if (offset_typeParameters != null) { | 2843 if (offset_typeParameters != null) { |
| 2779 fbBuilder.addOffset(17, offset_typeParameters); | 2844 fbBuilder.addOffset(18, offset_typeParameters); |
| 2845 } |
| 2846 if (offset_variables != null) { |
| 2847 fbBuilder.addOffset(19, offset_variables); |
| 2848 } |
| 2849 if (_visibleLength != null && _visibleLength != 0) { |
| 2850 fbBuilder.addUint32(20, _visibleLength); |
| 2851 } |
| 2852 if (_visibleOffset != null && _visibleOffset != 0) { |
| 2853 fbBuilder.addUint32(21, _visibleOffset); |
| 2780 } | 2854 } |
| 2781 return fbBuilder.endTable(); | 2855 return fbBuilder.endTable(); |
| 2782 } | 2856 } |
| 2783 } | 2857 } |
| 2784 | 2858 |
| 2785 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ | 2859 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ |
| 2786 const _UnlinkedExecutableReader(); | 2860 const _UnlinkedExecutableReader(); |
| 2787 | 2861 |
| 2788 @override | 2862 @override |
| 2789 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); | 2863 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); |
| 2790 } | 2864 } |
| 2791 | 2865 |
| 2792 class _UnlinkedExecutableImpl extends Object with _UnlinkedExecutableMixin imple
ments idl.UnlinkedExecutable { | 2866 class _UnlinkedExecutableImpl extends Object with _UnlinkedExecutableMixin imple
ments idl.UnlinkedExecutable { |
| 2793 final fb.BufferPointer _bp; | 2867 final fb.BufferPointer _bp; |
| 2794 | 2868 |
| 2795 _UnlinkedExecutableImpl(this._bp); | 2869 _UnlinkedExecutableImpl(this._bp); |
| 2796 | 2870 |
| 2797 List<idl.UnlinkedConst> _annotations; | 2871 List<idl.UnlinkedConst> _annotations; |
| 2798 List<idl.UnlinkedConstructorInitializer> _constantInitializers; | 2872 List<idl.UnlinkedConstructorInitializer> _constantInitializers; |
| 2799 idl.UnlinkedDocumentationComment _documentationComment; | 2873 idl.UnlinkedDocumentationComment _documentationComment; |
| 2874 List<idl.UnlinkedExecutable> _executables; |
| 2800 int _inferredReturnTypeSlot; | 2875 int _inferredReturnTypeSlot; |
| 2801 bool _isAbstract; | 2876 bool _isAbstract; |
| 2802 bool _isConst; | 2877 bool _isConst; |
| 2803 bool _isExternal; | 2878 bool _isExternal; |
| 2804 bool _isFactory; | 2879 bool _isFactory; |
| 2805 bool _isRedirectedConstructor; | 2880 bool _isRedirectedConstructor; |
| 2806 bool _isStatic; | 2881 bool _isStatic; |
| 2807 idl.UnlinkedExecutableKind _kind; | 2882 idl.UnlinkedExecutableKind _kind; |
| 2808 String _name; | 2883 String _name; |
| 2809 int _nameOffset; | 2884 int _nameOffset; |
| 2810 List<idl.UnlinkedParam> _parameters; | 2885 List<idl.UnlinkedParam> _parameters; |
| 2811 idl.EntityRef _redirectedConstructor; | 2886 idl.EntityRef _redirectedConstructor; |
| 2812 String _redirectedConstructorName; | 2887 String _redirectedConstructorName; |
| 2813 idl.EntityRef _returnType; | 2888 idl.EntityRef _returnType; |
| 2814 List<idl.UnlinkedTypeParam> _typeParameters; | 2889 List<idl.UnlinkedTypeParam> _typeParameters; |
| 2890 List<idl.UnlinkedVariable> _variables; |
| 2891 int _visibleLength; |
| 2892 int _visibleOffset; |
| 2815 | 2893 |
| 2816 @override | 2894 @override |
| 2817 List<idl.UnlinkedConst> get annotations { | 2895 List<idl.UnlinkedConst> get annotations { |
| 2818 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 2896 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); |
| 2819 return _annotations; | 2897 return _annotations; |
| 2820 } | 2898 } |
| 2821 | 2899 |
| 2822 @override | 2900 @override |
| 2823 List<idl.UnlinkedConstructorInitializer> get constantInitializers { | 2901 List<idl.UnlinkedConstructorInitializer> get constantInitializers { |
| 2824 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 1, const <id
l.UnlinkedConstructorInitializer>[]); | 2902 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 1, const <id
l.UnlinkedConstructorInitializer>[]); |
| 2825 return _constantInitializers; | 2903 return _constantInitializers; |
| 2826 } | 2904 } |
| 2827 | 2905 |
| 2828 @override | 2906 @override |
| 2829 idl.UnlinkedDocumentationComment get documentationComment { | 2907 idl.UnlinkedDocumentationComment get documentationComment { |
| 2830 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); | 2908 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); |
| 2831 return _documentationComment; | 2909 return _documentationComment; |
| 2832 } | 2910 } |
| 2833 | 2911 |
| 2834 @override | 2912 @override |
| 2913 List<idl.UnlinkedExecutable> get executables { |
| 2914 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 3, const <idl.UnlinkedExecutable>[]); |
| 2915 return _executables; |
| 2916 } |
| 2917 |
| 2918 @override |
| 2835 int get inferredReturnTypeSlot { | 2919 int get inferredReturnTypeSlot { |
| 2836 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 2920 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 4, 0); |
| 2837 return _inferredReturnTypeSlot; | 2921 return _inferredReturnTypeSlot; |
| 2838 } | 2922 } |
| 2839 | 2923 |
| 2840 @override | 2924 @override |
| 2841 bool get isAbstract { | 2925 bool get isAbstract { |
| 2842 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 2926 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 5, false); |
| 2843 return _isAbstract; | 2927 return _isAbstract; |
| 2844 } | 2928 } |
| 2845 | 2929 |
| 2846 @override | 2930 @override |
| 2847 bool get isConst { | 2931 bool get isConst { |
| 2848 _isConst ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 2932 _isConst ??= const fb.BoolReader().vTableGet(_bp, 6, false); |
| 2849 return _isConst; | 2933 return _isConst; |
| 2850 } | 2934 } |
| 2851 | 2935 |
| 2852 @override | 2936 @override |
| 2853 bool get isExternal { | 2937 bool get isExternal { |
| 2854 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 2938 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 7, false); |
| 2855 return _isExternal; | 2939 return _isExternal; |
| 2856 } | 2940 } |
| 2857 | 2941 |
| 2858 @override | 2942 @override |
| 2859 bool get isFactory { | 2943 bool get isFactory { |
| 2860 _isFactory ??= const fb.BoolReader().vTableGet(_bp, 7, false); | 2944 _isFactory ??= const fb.BoolReader().vTableGet(_bp, 8, false); |
| 2861 return _isFactory; | 2945 return _isFactory; |
| 2862 } | 2946 } |
| 2863 | 2947 |
| 2864 @override | 2948 @override |
| 2865 bool get isRedirectedConstructor { | 2949 bool get isRedirectedConstructor { |
| 2866 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bp, 8, false); | 2950 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bp, 9, false); |
| 2867 return _isRedirectedConstructor; | 2951 return _isRedirectedConstructor; |
| 2868 } | 2952 } |
| 2869 | 2953 |
| 2870 @override | 2954 @override |
| 2871 bool get isStatic { | 2955 bool get isStatic { |
| 2872 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 9, false); | 2956 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 10, false); |
| 2873 return _isStatic; | 2957 return _isStatic; |
| 2874 } | 2958 } |
| 2875 | 2959 |
| 2876 @override | 2960 @override |
| 2877 idl.UnlinkedExecutableKind get kind { | 2961 idl.UnlinkedExecutableKind get kind { |
| 2878 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bp, 10, idl.Unlin
kedExecutableKind.functionOrMethod); | 2962 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bp, 11, idl.Unlin
kedExecutableKind.functionOrMethod); |
| 2879 return _kind; | 2963 return _kind; |
| 2880 } | 2964 } |
| 2881 | 2965 |
| 2882 @override | 2966 @override |
| 2883 String get name { | 2967 String get name { |
| 2884 _name ??= const fb.StringReader().vTableGet(_bp, 11, ''); | 2968 _name ??= const fb.StringReader().vTableGet(_bp, 12, ''); |
| 2885 return _name; | 2969 return _name; |
| 2886 } | 2970 } |
| 2887 | 2971 |
| 2888 @override | 2972 @override |
| 2889 int get nameOffset { | 2973 int get nameOffset { |
| 2890 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 12, 0); | 2974 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 13, 0); |
| 2891 return _nameOffset; | 2975 return _nameOffset; |
| 2892 } | 2976 } |
| 2893 | 2977 |
| 2894 @override | 2978 @override |
| 2895 List<idl.UnlinkedParam> get parameters { | 2979 List<idl.UnlinkedParam> get parameters { |
| 2896 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 13, const <idl.UnlinkedParam>[]); | 2980 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 14, const <idl.UnlinkedParam>[]); |
| 2897 return _parameters; | 2981 return _parameters; |
| 2898 } | 2982 } |
| 2899 | 2983 |
| 2900 @override | 2984 @override |
| 2901 idl.EntityRef get redirectedConstructor { | 2985 idl.EntityRef get redirectedConstructor { |
| 2902 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bp, 14, null)
; | 2986 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bp, 15, null)
; |
| 2903 return _redirectedConstructor; | 2987 return _redirectedConstructor; |
| 2904 } | 2988 } |
| 2905 | 2989 |
| 2906 @override | 2990 @override |
| 2907 String get redirectedConstructorName { | 2991 String get redirectedConstructorName { |
| 2908 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bp, 15, ''
); | 2992 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bp, 16, ''
); |
| 2909 return _redirectedConstructorName; | 2993 return _redirectedConstructorName; |
| 2910 } | 2994 } |
| 2911 | 2995 |
| 2912 @override | 2996 @override |
| 2913 idl.EntityRef get returnType { | 2997 idl.EntityRef get returnType { |
| 2914 _returnType ??= const _EntityRefReader().vTableGet(_bp, 16, null); | 2998 _returnType ??= const _EntityRefReader().vTableGet(_bp, 17, null); |
| 2915 return _returnType; | 2999 return _returnType; |
| 2916 } | 3000 } |
| 2917 | 3001 |
| 2918 @override | 3002 @override |
| 2919 List<idl.UnlinkedTypeParam> get typeParameters { | 3003 List<idl.UnlinkedTypeParam> get typeParameters { |
| 2920 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 17, const <idl.UnlinkedTypeParam>[]); | 3004 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 18, const <idl.UnlinkedTypeParam>[]); |
| 2921 return _typeParameters; | 3005 return _typeParameters; |
| 2922 } | 3006 } |
| 3007 |
| 3008 @override |
| 3009 List<idl.UnlinkedVariable> get variables { |
| 3010 _variables ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVari
ableReader()).vTableGet(_bp, 19, const <idl.UnlinkedVariable>[]); |
| 3011 return _variables; |
| 3012 } |
| 3013 |
| 3014 @override |
| 3015 int get visibleLength { |
| 3016 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bp, 20, 0); |
| 3017 return _visibleLength; |
| 3018 } |
| 3019 |
| 3020 @override |
| 3021 int get visibleOffset { |
| 3022 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bp, 21, 0); |
| 3023 return _visibleOffset; |
| 3024 } |
| 2923 } | 3025 } |
| 2924 | 3026 |
| 2925 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { | 3027 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { |
| 2926 @override | 3028 @override |
| 2927 Map<String, Object> toMap() => { | 3029 Map<String, Object> toMap() => { |
| 2928 "annotations": annotations, | 3030 "annotations": annotations, |
| 2929 "constantInitializers": constantInitializers, | 3031 "constantInitializers": constantInitializers, |
| 2930 "documentationComment": documentationComment, | 3032 "documentationComment": documentationComment, |
| 3033 "executables": executables, |
| 2931 "inferredReturnTypeSlot": inferredReturnTypeSlot, | 3034 "inferredReturnTypeSlot": inferredReturnTypeSlot, |
| 2932 "isAbstract": isAbstract, | 3035 "isAbstract": isAbstract, |
| 2933 "isConst": isConst, | 3036 "isConst": isConst, |
| 2934 "isExternal": isExternal, | 3037 "isExternal": isExternal, |
| 2935 "isFactory": isFactory, | 3038 "isFactory": isFactory, |
| 2936 "isRedirectedConstructor": isRedirectedConstructor, | 3039 "isRedirectedConstructor": isRedirectedConstructor, |
| 2937 "isStatic": isStatic, | 3040 "isStatic": isStatic, |
| 2938 "kind": kind, | 3041 "kind": kind, |
| 2939 "name": name, | 3042 "name": name, |
| 2940 "nameOffset": nameOffset, | 3043 "nameOffset": nameOffset, |
| 2941 "parameters": parameters, | 3044 "parameters": parameters, |
| 2942 "redirectedConstructor": redirectedConstructor, | 3045 "redirectedConstructor": redirectedConstructor, |
| 2943 "redirectedConstructorName": redirectedConstructorName, | 3046 "redirectedConstructorName": redirectedConstructorName, |
| 2944 "returnType": returnType, | 3047 "returnType": returnType, |
| 2945 "typeParameters": typeParameters, | 3048 "typeParameters": typeParameters, |
| 3049 "variables": variables, |
| 3050 "visibleLength": visibleLength, |
| 3051 "visibleOffset": visibleOffset, |
| 2946 }; | 3052 }; |
| 2947 } | 3053 } |
| 2948 | 3054 |
| 2949 class UnlinkedExportNonPublicBuilder extends Object with _UnlinkedExportNonPubli
cMixin implements idl.UnlinkedExportNonPublic { | 3055 class UnlinkedExportNonPublicBuilder extends Object with _UnlinkedExportNonPubli
cMixin implements idl.UnlinkedExportNonPublic { |
| 2950 bool _finished = false; | 3056 bool _finished = false; |
| 2951 | 3057 |
| 2952 List<UnlinkedConstBuilder> _annotations; | 3058 List<UnlinkedConstBuilder> _annotations; |
| 2953 int _offset; | 3059 int _offset; |
| 2954 int _uriEnd; | 3060 int _uriEnd; |
| 2955 int _uriOffset; | 3061 int _uriOffset; |
| (...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5111 UnlinkedConstBuilder _constExpr; | 5217 UnlinkedConstBuilder _constExpr; |
| 5112 UnlinkedDocumentationCommentBuilder _documentationComment; | 5218 UnlinkedDocumentationCommentBuilder _documentationComment; |
| 5113 int _inferredTypeSlot; | 5219 int _inferredTypeSlot; |
| 5114 bool _isConst; | 5220 bool _isConst; |
| 5115 bool _isFinal; | 5221 bool _isFinal; |
| 5116 bool _isStatic; | 5222 bool _isStatic; |
| 5117 String _name; | 5223 String _name; |
| 5118 int _nameOffset; | 5224 int _nameOffset; |
| 5119 int _propagatedTypeSlot; | 5225 int _propagatedTypeSlot; |
| 5120 EntityRefBuilder _type; | 5226 EntityRefBuilder _type; |
| 5227 int _visibleLength; |
| 5228 int _visibleOffset; |
| 5121 | 5229 |
| 5122 @override | 5230 @override |
| 5123 List<UnlinkedConstBuilder> get annotations => _annotations ??= <UnlinkedConstB
uilder>[]; | 5231 List<UnlinkedConstBuilder> get annotations => _annotations ??= <UnlinkedConstB
uilder>[]; |
| 5124 | 5232 |
| 5125 /** | 5233 /** |
| 5126 * Annotations for this variable. | 5234 * Annotations for this variable. |
| 5127 */ | 5235 */ |
| 5128 void set annotations(List<UnlinkedConstBuilder> _value) { | 5236 void set annotations(List<UnlinkedConstBuilder> _value) { |
| 5129 assert(!_finished); | 5237 assert(!_finished); |
| 5130 _annotations = _value; | 5238 _annotations = _value; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5251 EntityRefBuilder get type => _type; | 5359 EntityRefBuilder get type => _type; |
| 5252 | 5360 |
| 5253 /** | 5361 /** |
| 5254 * Declared type of the variable. Absent if the type is implicit. | 5362 * Declared type of the variable. Absent if the type is implicit. |
| 5255 */ | 5363 */ |
| 5256 void set type(EntityRefBuilder _value) { | 5364 void set type(EntityRefBuilder _value) { |
| 5257 assert(!_finished); | 5365 assert(!_finished); |
| 5258 _type = _value; | 5366 _type = _value; |
| 5259 } | 5367 } |
| 5260 | 5368 |
| 5261 UnlinkedVariableBuilder({List<UnlinkedConstBuilder> annotations, UnlinkedConst
Builder constExpr, UnlinkedDocumentationCommentBuilder documentationComment, int
inferredTypeSlot, bool isConst, bool isFinal, bool isStatic, String name, int n
ameOffset, int propagatedTypeSlot, EntityRefBuilder type}) | 5369 @override |
| 5370 int get visibleLength => _visibleLength ??= 0; |
| 5371 |
| 5372 /** |
| 5373 * If a local variable, the length of the visible range; absent otherwise. |
| 5374 */ |
| 5375 void set visibleLength(int _value) { |
| 5376 assert(!_finished); |
| 5377 assert(_value == null || _value >= 0); |
| 5378 _visibleLength = _value; |
| 5379 } |
| 5380 |
| 5381 @override |
| 5382 int get visibleOffset => _visibleOffset ??= 0; |
| 5383 |
| 5384 /** |
| 5385 * If a local variable, the beginning of the visible range; absent otherwise. |
| 5386 */ |
| 5387 void set visibleOffset(int _value) { |
| 5388 assert(!_finished); |
| 5389 assert(_value == null || _value >= 0); |
| 5390 _visibleOffset = _value; |
| 5391 } |
| 5392 |
| 5393 UnlinkedVariableBuilder({List<UnlinkedConstBuilder> annotations, UnlinkedConst
Builder constExpr, UnlinkedDocumentationCommentBuilder documentationComment, int
inferredTypeSlot, bool isConst, bool isFinal, bool isStatic, String name, int n
ameOffset, int propagatedTypeSlot, EntityRefBuilder type, int visibleLength, int
visibleOffset}) |
| 5262 : _annotations = annotations, | 5394 : _annotations = annotations, |
| 5263 _constExpr = constExpr, | 5395 _constExpr = constExpr, |
| 5264 _documentationComment = documentationComment, | 5396 _documentationComment = documentationComment, |
| 5265 _inferredTypeSlot = inferredTypeSlot, | 5397 _inferredTypeSlot = inferredTypeSlot, |
| 5266 _isConst = isConst, | 5398 _isConst = isConst, |
| 5267 _isFinal = isFinal, | 5399 _isFinal = isFinal, |
| 5268 _isStatic = isStatic, | 5400 _isStatic = isStatic, |
| 5269 _name = name, | 5401 _name = name, |
| 5270 _nameOffset = nameOffset, | 5402 _nameOffset = nameOffset, |
| 5271 _propagatedTypeSlot = propagatedTypeSlot, | 5403 _propagatedTypeSlot = propagatedTypeSlot, |
| 5272 _type = type; | 5404 _type = type, |
| 5405 _visibleLength = visibleLength, |
| 5406 _visibleOffset = visibleOffset; |
| 5273 | 5407 |
| 5274 fb.Offset finish(fb.Builder fbBuilder) { | 5408 fb.Offset finish(fb.Builder fbBuilder) { |
| 5275 assert(!_finished); | 5409 assert(!_finished); |
| 5276 _finished = true; | 5410 _finished = true; |
| 5277 fb.Offset offset_annotations; | 5411 fb.Offset offset_annotations; |
| 5278 fb.Offset offset_constExpr; | 5412 fb.Offset offset_constExpr; |
| 5279 fb.Offset offset_documentationComment; | 5413 fb.Offset offset_documentationComment; |
| 5280 fb.Offset offset_name; | 5414 fb.Offset offset_name; |
| 5281 fb.Offset offset_type; | 5415 fb.Offset offset_type; |
| 5282 if (!(_annotations == null || _annotations.isEmpty)) { | 5416 if (!(_annotations == null || _annotations.isEmpty)) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5321 } | 5455 } |
| 5322 if (_nameOffset != null && _nameOffset != 0) { | 5456 if (_nameOffset != null && _nameOffset != 0) { |
| 5323 fbBuilder.addUint32(8, _nameOffset); | 5457 fbBuilder.addUint32(8, _nameOffset); |
| 5324 } | 5458 } |
| 5325 if (_propagatedTypeSlot != null && _propagatedTypeSlot != 0) { | 5459 if (_propagatedTypeSlot != null && _propagatedTypeSlot != 0) { |
| 5326 fbBuilder.addUint32(9, _propagatedTypeSlot); | 5460 fbBuilder.addUint32(9, _propagatedTypeSlot); |
| 5327 } | 5461 } |
| 5328 if (offset_type != null) { | 5462 if (offset_type != null) { |
| 5329 fbBuilder.addOffset(10, offset_type); | 5463 fbBuilder.addOffset(10, offset_type); |
| 5330 } | 5464 } |
| 5465 if (_visibleLength != null && _visibleLength != 0) { |
| 5466 fbBuilder.addUint32(11, _visibleLength); |
| 5467 } |
| 5468 if (_visibleOffset != null && _visibleOffset != 0) { |
| 5469 fbBuilder.addUint32(12, _visibleOffset); |
| 5470 } |
| 5331 return fbBuilder.endTable(); | 5471 return fbBuilder.endTable(); |
| 5332 } | 5472 } |
| 5333 } | 5473 } |
| 5334 | 5474 |
| 5335 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { | 5475 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { |
| 5336 const _UnlinkedVariableReader(); | 5476 const _UnlinkedVariableReader(); |
| 5337 | 5477 |
| 5338 @override | 5478 @override |
| 5339 _UnlinkedVariableImpl createObject(fb.BufferPointer bp) => new _UnlinkedVariab
leImpl(bp); | 5479 _UnlinkedVariableImpl createObject(fb.BufferPointer bp) => new _UnlinkedVariab
leImpl(bp); |
| 5340 } | 5480 } |
| 5341 | 5481 |
| 5342 class _UnlinkedVariableImpl extends Object with _UnlinkedVariableMixin implement
s idl.UnlinkedVariable { | 5482 class _UnlinkedVariableImpl extends Object with _UnlinkedVariableMixin implement
s idl.UnlinkedVariable { |
| 5343 final fb.BufferPointer _bp; | 5483 final fb.BufferPointer _bp; |
| 5344 | 5484 |
| 5345 _UnlinkedVariableImpl(this._bp); | 5485 _UnlinkedVariableImpl(this._bp); |
| 5346 | 5486 |
| 5347 List<idl.UnlinkedConst> _annotations; | 5487 List<idl.UnlinkedConst> _annotations; |
| 5348 idl.UnlinkedConst _constExpr; | 5488 idl.UnlinkedConst _constExpr; |
| 5349 idl.UnlinkedDocumentationComment _documentationComment; | 5489 idl.UnlinkedDocumentationComment _documentationComment; |
| 5350 int _inferredTypeSlot; | 5490 int _inferredTypeSlot; |
| 5351 bool _isConst; | 5491 bool _isConst; |
| 5352 bool _isFinal; | 5492 bool _isFinal; |
| 5353 bool _isStatic; | 5493 bool _isStatic; |
| 5354 String _name; | 5494 String _name; |
| 5355 int _nameOffset; | 5495 int _nameOffset; |
| 5356 int _propagatedTypeSlot; | 5496 int _propagatedTypeSlot; |
| 5357 idl.EntityRef _type; | 5497 idl.EntityRef _type; |
| 5498 int _visibleLength; |
| 5499 int _visibleOffset; |
| 5358 | 5500 |
| 5359 @override | 5501 @override |
| 5360 List<idl.UnlinkedConst> get annotations { | 5502 List<idl.UnlinkedConst> get annotations { |
| 5361 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 5503 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); |
| 5362 return _annotations; | 5504 return _annotations; |
| 5363 } | 5505 } |
| 5364 | 5506 |
| 5365 @override | 5507 @override |
| 5366 idl.UnlinkedConst get constExpr { | 5508 idl.UnlinkedConst get constExpr { |
| 5367 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); | 5509 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5414 int get propagatedTypeSlot { | 5556 int get propagatedTypeSlot { |
| 5415 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); | 5557 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); |
| 5416 return _propagatedTypeSlot; | 5558 return _propagatedTypeSlot; |
| 5417 } | 5559 } |
| 5418 | 5560 |
| 5419 @override | 5561 @override |
| 5420 idl.EntityRef get type { | 5562 idl.EntityRef get type { |
| 5421 _type ??= const _EntityRefReader().vTableGet(_bp, 10, null); | 5563 _type ??= const _EntityRefReader().vTableGet(_bp, 10, null); |
| 5422 return _type; | 5564 return _type; |
| 5423 } | 5565 } |
| 5566 |
| 5567 @override |
| 5568 int get visibleLength { |
| 5569 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bp, 11, 0); |
| 5570 return _visibleLength; |
| 5571 } |
| 5572 |
| 5573 @override |
| 5574 int get visibleOffset { |
| 5575 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bp, 12, 0); |
| 5576 return _visibleOffset; |
| 5577 } |
| 5424 } | 5578 } |
| 5425 | 5579 |
| 5426 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { | 5580 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { |
| 5427 @override | 5581 @override |
| 5428 Map<String, Object> toMap() => { | 5582 Map<String, Object> toMap() => { |
| 5429 "annotations": annotations, | 5583 "annotations": annotations, |
| 5430 "constExpr": constExpr, | 5584 "constExpr": constExpr, |
| 5431 "documentationComment": documentationComment, | 5585 "documentationComment": documentationComment, |
| 5432 "inferredTypeSlot": inferredTypeSlot, | 5586 "inferredTypeSlot": inferredTypeSlot, |
| 5433 "isConst": isConst, | 5587 "isConst": isConst, |
| 5434 "isFinal": isFinal, | 5588 "isFinal": isFinal, |
| 5435 "isStatic": isStatic, | 5589 "isStatic": isStatic, |
| 5436 "name": name, | 5590 "name": name, |
| 5437 "nameOffset": nameOffset, | 5591 "nameOffset": nameOffset, |
| 5438 "propagatedTypeSlot": propagatedTypeSlot, | 5592 "propagatedTypeSlot": propagatedTypeSlot, |
| 5439 "type": type, | 5593 "type": type, |
| 5594 "visibleLength": visibleLength, |
| 5595 "visibleOffset": visibleOffset, |
| 5440 }; | 5596 }; |
| 5441 } | 5597 } |
| 5442 | 5598 |
| OLD | NEW |