@@ -2158,6 +2158,7 @@ class AvailableDeclarationBuilder extends Object
2158
2158
bool _isConst;
2159
2159
bool _isDeprecated;
2160
2160
bool _isFinal;
2161
+ bool _isStatic;
2161
2162
idl.AvailableDeclarationKind _kind;
2162
2163
int _locationOffset;
2163
2164
int _locationStartColumn;
@@ -2261,6 +2262,13 @@ class AvailableDeclarationBuilder extends Object
2261
2262
this._isFinal = value;
2262
2263
}
2263
2264
2265
+ @override
2266
+ bool get isStatic => _isStatic ??= false;
2267
+
2268
+ set isStatic(bool value) {
2269
+ this._isStatic = value;
2270
+ }
2271
+
2264
2272
@override
2265
2273
idl.AvailableDeclarationKind get kind =>
2266
2274
_kind ??= idl.AvailableDeclarationKind.CLASS;
@@ -2370,6 +2378,7 @@ class AvailableDeclarationBuilder extends Object
2370
2378
bool isConst,
2371
2379
bool isDeprecated,
2372
2380
bool isFinal,
2381
+ bool isStatic,
2373
2382
idl.AvailableDeclarationKind kind,
2374
2383
int locationOffset,
2375
2384
int locationStartColumn,
@@ -2394,6 +2403,7 @@ class AvailableDeclarationBuilder extends Object
2394
2403
_isConst = isConst,
2395
2404
_isDeprecated = isDeprecated,
2396
2405
_isFinal = isFinal,
2406
+ _isStatic = isStatic,
2397
2407
_kind = kind,
2398
2408
_locationOffset = locationOffset,
2399
2409
_locationStartColumn = locationStartColumn,
@@ -2440,6 +2450,7 @@ class AvailableDeclarationBuilder extends Object
2440
2450
signature.addBool(this._isConst == true);
2441
2451
signature.addBool(this._isDeprecated == true);
2442
2452
signature.addBool(this._isFinal == true);
2453
+ signature.addBool(this._isStatic == true);
2443
2454
signature.addInt(this._kind == null ? 0 : this._kind.index);
2444
2455
signature.addInt(this._locationOffset ?? 0);
2445
2456
signature.addInt(this._locationStartColumn ?? 0);
@@ -2568,41 +2579,44 @@ class AvailableDeclarationBuilder extends Object
2568
2579
if (_isFinal == true) {
2569
2580
fbBuilder.addBool(11, true);
2570
2581
}
2582
+ if (_isStatic == true) {
2583
+ fbBuilder.addBool(12, true);
2584
+ }
2571
2585
if (_kind != null && _kind != idl.AvailableDeclarationKind.CLASS) {
2572
- fbBuilder.addUint8(12 , _kind.index);
2586
+ fbBuilder.addUint8(13 , _kind.index);
2573
2587
}
2574
2588
if (_locationOffset != null && _locationOffset != 0) {
2575
- fbBuilder.addUint32(13 , _locationOffset);
2589
+ fbBuilder.addUint32(14 , _locationOffset);
2576
2590
}
2577
2591
if (_locationStartColumn != null && _locationStartColumn != 0) {
2578
- fbBuilder.addUint32(14 , _locationStartColumn);
2592
+ fbBuilder.addUint32(15 , _locationStartColumn);
2579
2593
}
2580
2594
if (_locationStartLine != null && _locationStartLine != 0) {
2581
- fbBuilder.addUint32(15 , _locationStartLine);
2595
+ fbBuilder.addUint32(16 , _locationStartLine);
2582
2596
}
2583
2597
if (offset_name != null) {
2584
- fbBuilder.addOffset(16 , offset_name);
2598
+ fbBuilder.addOffset(17 , offset_name);
2585
2599
}
2586
2600
if (offset_parameterNames != null) {
2587
- fbBuilder.addOffset(17 , offset_parameterNames);
2601
+ fbBuilder.addOffset(18 , offset_parameterNames);
2588
2602
}
2589
2603
if (offset_parameters != null) {
2590
- fbBuilder.addOffset(18 , offset_parameters);
2604
+ fbBuilder.addOffset(19 , offset_parameters);
2591
2605
}
2592
2606
if (offset_parameterTypes != null) {
2593
- fbBuilder.addOffset(19 , offset_parameterTypes);
2607
+ fbBuilder.addOffset(20 , offset_parameterTypes);
2594
2608
}
2595
2609
if (offset_relevanceTags != null) {
2596
- fbBuilder.addOffset(20 , offset_relevanceTags);
2610
+ fbBuilder.addOffset(21 , offset_relevanceTags);
2597
2611
}
2598
2612
if (_requiredParameterCount != null && _requiredParameterCount != 0) {
2599
- fbBuilder.addUint32(21 , _requiredParameterCount);
2613
+ fbBuilder.addUint32(22 , _requiredParameterCount);
2600
2614
}
2601
2615
if (offset_returnType != null) {
2602
- fbBuilder.addOffset(22 , offset_returnType);
2616
+ fbBuilder.addOffset(23 , offset_returnType);
2603
2617
}
2604
2618
if (offset_typeParameters != null) {
2605
- fbBuilder.addOffset(23 , offset_typeParameters);
2619
+ fbBuilder.addOffset(24 , offset_typeParameters);
2606
2620
}
2607
2621
return fbBuilder.endTable();
2608
2622
}
@@ -2637,6 +2651,7 @@ class _AvailableDeclarationImpl extends Object
2637
2651
bool _isConst;
2638
2652
bool _isDeprecated;
2639
2653
bool _isFinal;
2654
+ bool _isStatic;
2640
2655
idl.AvailableDeclarationKind _kind;
2641
2656
int _locationOffset;
2642
2657
int _locationStartColumn;
@@ -2727,84 +2742,90 @@ class _AvailableDeclarationImpl extends Object
2727
2742
return _isFinal;
2728
2743
}
2729
2744
2745
+ @override
2746
+ bool get isStatic {
2747
+ _isStatic ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 12, false);
2748
+ return _isStatic;
2749
+ }
2750
+
2730
2751
@override
2731
2752
idl.AvailableDeclarationKind get kind {
2732
2753
_kind ??= const _AvailableDeclarationKindReader()
2733
- .vTableGet(_bc, _bcOffset, 12 , idl.AvailableDeclarationKind.CLASS);
2754
+ .vTableGet(_bc, _bcOffset, 13 , idl.AvailableDeclarationKind.CLASS);
2734
2755
return _kind;
2735
2756
}
2736
2757
2737
2758
@override
2738
2759
int get locationOffset {
2739
2760
_locationOffset ??=
2740
- const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 13 , 0);
2761
+ const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 14 , 0);
2741
2762
return _locationOffset;
2742
2763
}
2743
2764
2744
2765
@override
2745
2766
int get locationStartColumn {
2746
2767
_locationStartColumn ??=
2747
- const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 14 , 0);
2768
+ const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 15 , 0);
2748
2769
return _locationStartColumn;
2749
2770
}
2750
2771
2751
2772
@override
2752
2773
int get locationStartLine {
2753
2774
_locationStartLine ??=
2754
- const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 15 , 0);
2775
+ const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 16 , 0);
2755
2776
return _locationStartLine;
2756
2777
}
2757
2778
2758
2779
@override
2759
2780
String get name {
2760
- _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 16 , '');
2781
+ _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 17 , '');
2761
2782
return _name;
2762
2783
}
2763
2784
2764
2785
@override
2765
2786
List<String> get parameterNames {
2766
2787
_parameterNames ??= const fb.ListReader<String>(fb.StringReader())
2767
- .vTableGet(_bc, _bcOffset, 17 , const <String>[]);
2788
+ .vTableGet(_bc, _bcOffset, 18 , const <String>[]);
2768
2789
return _parameterNames;
2769
2790
}
2770
2791
2771
2792
@override
2772
2793
String get parameters {
2773
- _parameters ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 18 , '');
2794
+ _parameters ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 19 , '');
2774
2795
return _parameters;
2775
2796
}
2776
2797
2777
2798
@override
2778
2799
List<String> get parameterTypes {
2779
2800
_parameterTypes ??= const fb.ListReader<String>(fb.StringReader())
2780
- .vTableGet(_bc, _bcOffset, 19 , const <String>[]);
2801
+ .vTableGet(_bc, _bcOffset, 20 , const <String>[]);
2781
2802
return _parameterTypes;
2782
2803
}
2783
2804
2784
2805
@override
2785
2806
List<String> get relevanceTags {
2786
2807
_relevanceTags ??= const fb.ListReader<String>(fb.StringReader())
2787
- .vTableGet(_bc, _bcOffset, 20 , const <String>[]);
2808
+ .vTableGet(_bc, _bcOffset, 21 , const <String>[]);
2788
2809
return _relevanceTags;
2789
2810
}
2790
2811
2791
2812
@override
2792
2813
int get requiredParameterCount {
2793
2814
_requiredParameterCount ??=
2794
- const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 21 , 0);
2815
+ const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 22 , 0);
2795
2816
return _requiredParameterCount;
2796
2817
}
2797
2818
2798
2819
@override
2799
2820
String get returnType {
2800
- _returnType ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 22 , '');
2821
+ _returnType ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 23 , '');
2801
2822
return _returnType;
2802
2823
}
2803
2824
2804
2825
@override
2805
2826
String get typeParameters {
2806
2827
_typeParameters ??=
2807
- const fb.StringReader().vTableGet(_bc, _bcOffset, 23 , '');
2828
+ const fb.StringReader().vTableGet(_bc, _bcOffset, 24 , '');
2808
2829
return _typeParameters;
2809
2830
}
2810
2831
}
@@ -2849,6 +2870,9 @@ abstract class _AvailableDeclarationMixin implements idl.AvailableDeclaration {
2849
2870
if (isFinal != false) {
2850
2871
_result["isFinal"] = isFinal;
2851
2872
}
2873
+ if (isStatic != false) {
2874
+ _result["isStatic"] = isStatic;
2875
+ }
2852
2876
if (kind != idl.AvailableDeclarationKind.CLASS) {
2853
2877
_result["kind"] = kind.toString().split('.')[1];
2854
2878
}
@@ -2902,6 +2926,7 @@ abstract class _AvailableDeclarationMixin implements idl.AvailableDeclaration {
2902
2926
"isConst": isConst,
2903
2927
"isDeprecated": isDeprecated,
2904
2928
"isFinal": isFinal,
2929
+ "isStatic": isStatic,
2905
2930
"kind": kind,
2906
2931
"locationOffset": locationOffset,
2907
2932
"locationStartColumn": locationStartColumn,
0 commit comments