| 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 18 matching lines...) Expand all Loading... |
| 29 @override | 29 @override |
| 30 int get size => 4; | 30 int get size => 4; |
| 31 | 31 |
| 32 @override | 32 @override |
| 33 idl.UnlinkedConstOperation read(fb.BufferPointer bp) { | 33 idl.UnlinkedConstOperation read(fb.BufferPointer bp) { |
| 34 int index = const fb.Uint32Reader().read(bp); | 34 int index = const fb.Uint32Reader().read(bp); |
| 35 return idl.UnlinkedConstOperation.values[index]; | 35 return idl.UnlinkedConstOperation.values[index]; |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 class _UnlinkedConstructorInitializerKindReader extends fb.Reader<idl.UnlinkedCo
nstructorInitializerKind> { |
| 40 const _UnlinkedConstructorInitializerKindReader() : super(); |
| 41 |
| 42 @override |
| 43 int get size => 4; |
| 44 |
| 45 @override |
| 46 idl.UnlinkedConstructorInitializerKind read(fb.BufferPointer bp) { |
| 47 int index = const fb.Uint32Reader().read(bp); |
| 48 return idl.UnlinkedConstructorInitializerKind.values[index]; |
| 49 } |
| 50 } |
| 51 |
| 39 class _UnlinkedExecutableKindReader extends fb.Reader<idl.UnlinkedExecutableKind
> { | 52 class _UnlinkedExecutableKindReader extends fb.Reader<idl.UnlinkedExecutableKind
> { |
| 40 const _UnlinkedExecutableKindReader() : super(); | 53 const _UnlinkedExecutableKindReader() : super(); |
| 41 | 54 |
| 42 @override | 55 @override |
| 43 int get size => 4; | 56 int get size => 4; |
| 44 | 57 |
| 45 @override | 58 @override |
| 46 idl.UnlinkedExecutableKind read(fb.BufferPointer bp) { | 59 idl.UnlinkedExecutableKind read(fb.BufferPointer bp) { |
| 47 int index = const fb.Uint32Reader().read(bp); | 60 int index = const fb.Uint32Reader().read(bp); |
| 48 return idl.UnlinkedExecutableKind.values[index]; | 61 return idl.UnlinkedExecutableKind.values[index]; |
| (...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1823 @override | 1836 @override |
| 1824 Map<String, Object> toMap() => { | 1837 Map<String, Object> toMap() => { |
| 1825 "operations": operations, | 1838 "operations": operations, |
| 1826 "ints": ints, | 1839 "ints": ints, |
| 1827 "doubles": doubles, | 1840 "doubles": doubles, |
| 1828 "strings": strings, | 1841 "strings": strings, |
| 1829 "references": references, | 1842 "references": references, |
| 1830 }; | 1843 }; |
| 1831 } | 1844 } |
| 1832 | 1845 |
| 1846 class UnlinkedConstructorInitializerBuilder extends Object with _UnlinkedConstru
ctorInitializerMixin implements idl.UnlinkedConstructorInitializer { |
| 1847 bool _finished = false; |
| 1848 |
| 1849 idl.UnlinkedConstructorInitializerKind _kind; |
| 1850 String _name; |
| 1851 UnlinkedConstBuilder _expression; |
| 1852 List<UnlinkedConstBuilder> _arguments; |
| 1853 |
| 1854 @override |
| 1855 idl.UnlinkedConstructorInitializerKind get kind => _kind ??= idl.UnlinkedConst
ructorInitializerKind.field; |
| 1856 |
| 1857 /** |
| 1858 * The kind of the constructor initializer (field, redirect, super). |
| 1859 */ |
| 1860 void set kind(idl.UnlinkedConstructorInitializerKind _value) { |
| 1861 assert(!_finished); |
| 1862 _kind = _value; |
| 1863 } |
| 1864 |
| 1865 @override |
| 1866 String get name => _name ??= ''; |
| 1867 |
| 1868 /** |
| 1869 * Depending on the [kind] is the name of the field declared in the class, |
| 1870 * or the name of the constructor to redirect to (may be `null`), or the name |
| 1871 * of the invoked super constructor (may be `null`). |
| 1872 */ |
| 1873 void set name(String _value) { |
| 1874 assert(!_finished); |
| 1875 _name = _value; |
| 1876 } |
| 1877 |
| 1878 @override |
| 1879 UnlinkedConstBuilder get expression => _expression; |
| 1880 |
| 1881 /** |
| 1882 * If [UnlinkedConstructorInitializerKind.field], the expression of the |
| 1883 * field initializer. Otherwise `null`. |
| 1884 */ |
| 1885 void set expression(UnlinkedConstBuilder _value) { |
| 1886 assert(!_finished); |
| 1887 _expression = _value; |
| 1888 } |
| 1889 |
| 1890 @override |
| 1891 List<UnlinkedConstBuilder> get arguments => _arguments ??= <UnlinkedConstBuild
er>[]; |
| 1892 |
| 1893 /** |
| 1894 * If [UnlinkedConstructorInitializerKind.thisInvocation] or |
| 1895 * [UnlinkedConstructorInitializerKind.superInvocation], the arguments of |
| 1896 * the invocation. Otherwise empty. |
| 1897 */ |
| 1898 void set arguments(List<UnlinkedConstBuilder> _value) { |
| 1899 assert(!_finished); |
| 1900 _arguments = _value; |
| 1901 } |
| 1902 |
| 1903 UnlinkedConstructorInitializerBuilder({idl.UnlinkedConstructorInitializerKind
kind, String name, UnlinkedConstBuilder expression, List<UnlinkedConstBuilder> a
rguments}) |
| 1904 : _kind = kind, |
| 1905 _name = name, |
| 1906 _expression = expression, |
| 1907 _arguments = arguments; |
| 1908 |
| 1909 fb.Offset finish(fb.Builder fbBuilder) { |
| 1910 assert(!_finished); |
| 1911 _finished = true; |
| 1912 fb.Offset offset_name; |
| 1913 fb.Offset offset_expression; |
| 1914 fb.Offset offset_arguments; |
| 1915 if (_name != null) { |
| 1916 offset_name = fbBuilder.writeString(_name); |
| 1917 } |
| 1918 if (_expression != null) { |
| 1919 offset_expression = _expression.finish(fbBuilder); |
| 1920 } |
| 1921 if (!(_arguments == null || _arguments.isEmpty)) { |
| 1922 offset_arguments = fbBuilder.writeList(_arguments.map((b) => b.finish(fbBu
ilder)).toList()); |
| 1923 } |
| 1924 fbBuilder.startTable(); |
| 1925 if (_kind != null && _kind != idl.UnlinkedConstructorInitializerKind.field)
{ |
| 1926 fbBuilder.addUint32(0, _kind.index); |
| 1927 } |
| 1928 if (offset_name != null) { |
| 1929 fbBuilder.addOffset(1, offset_name); |
| 1930 } |
| 1931 if (offset_expression != null) { |
| 1932 fbBuilder.addOffset(2, offset_expression); |
| 1933 } |
| 1934 if (offset_arguments != null) { |
| 1935 fbBuilder.addOffset(3, offset_arguments); |
| 1936 } |
| 1937 return fbBuilder.endTable(); |
| 1938 } |
| 1939 } |
| 1940 |
| 1941 class _UnlinkedConstructorInitializerReader extends fb.TableReader<_UnlinkedCons
tructorInitializerImpl> { |
| 1942 const _UnlinkedConstructorInitializerReader(); |
| 1943 |
| 1944 @override |
| 1945 _UnlinkedConstructorInitializerImpl createObject(fb.BufferPointer bp) => new _
UnlinkedConstructorInitializerImpl(bp); |
| 1946 } |
| 1947 |
| 1948 class _UnlinkedConstructorInitializerImpl extends Object with _UnlinkedConstruct
orInitializerMixin implements idl.UnlinkedConstructorInitializer { |
| 1949 final fb.BufferPointer _bp; |
| 1950 |
| 1951 _UnlinkedConstructorInitializerImpl(this._bp); |
| 1952 |
| 1953 idl.UnlinkedConstructorInitializerKind _kind; |
| 1954 String _name; |
| 1955 idl.UnlinkedConst _expression; |
| 1956 List<idl.UnlinkedConst> _arguments; |
| 1957 |
| 1958 @override |
| 1959 idl.UnlinkedConstructorInitializerKind get kind { |
| 1960 _kind ??= const _UnlinkedConstructorInitializerKindReader().vTableGet(_bp, 0
, idl.UnlinkedConstructorInitializerKind.field); |
| 1961 return _kind; |
| 1962 } |
| 1963 |
| 1964 @override |
| 1965 String get name { |
| 1966 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); |
| 1967 return _name; |
| 1968 } |
| 1969 |
| 1970 @override |
| 1971 idl.UnlinkedConst get expression { |
| 1972 _expression ??= const _UnlinkedConstReader().vTableGet(_bp, 2, null); |
| 1973 return _expression; |
| 1974 } |
| 1975 |
| 1976 @override |
| 1977 List<idl.UnlinkedConst> get arguments { |
| 1978 _arguments ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConstRe
ader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); |
| 1979 return _arguments; |
| 1980 } |
| 1981 } |
| 1982 |
| 1983 abstract class _UnlinkedConstructorInitializerMixin implements idl.UnlinkedConst
ructorInitializer { |
| 1984 @override |
| 1985 Map<String, Object> toMap() => { |
| 1986 "kind": kind, |
| 1987 "name": name, |
| 1988 "expression": expression, |
| 1989 "arguments": arguments, |
| 1990 }; |
| 1991 } |
| 1992 |
| 1833 class UnlinkedDocumentationCommentBuilder extends Object with _UnlinkedDocumenta
tionCommentMixin implements idl.UnlinkedDocumentationComment { | 1993 class UnlinkedDocumentationCommentBuilder extends Object with _UnlinkedDocumenta
tionCommentMixin implements idl.UnlinkedDocumentationComment { |
| 1834 bool _finished = false; | 1994 bool _finished = false; |
| 1835 | 1995 |
| 1836 String _text; | 1996 String _text; |
| 1837 int _offset; | 1997 int _offset; |
| 1838 int _length; | 1998 int _length; |
| 1839 | 1999 |
| 1840 @override | 2000 @override |
| 1841 String get text => _text ??= ''; | 2001 String get text => _text ??= ''; |
| 1842 | 2002 |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2244 List<UnlinkedTypeParamBuilder> _typeParameters; | 2404 List<UnlinkedTypeParamBuilder> _typeParameters; |
| 2245 EntityRefBuilder _returnType; | 2405 EntityRefBuilder _returnType; |
| 2246 List<UnlinkedParamBuilder> _parameters; | 2406 List<UnlinkedParamBuilder> _parameters; |
| 2247 idl.UnlinkedExecutableKind _kind; | 2407 idl.UnlinkedExecutableKind _kind; |
| 2248 bool _isAbstract; | 2408 bool _isAbstract; |
| 2249 bool _isStatic; | 2409 bool _isStatic; |
| 2250 bool _isConst; | 2410 bool _isConst; |
| 2251 bool _isFactory; | 2411 bool _isFactory; |
| 2252 bool _isExternal; | 2412 bool _isExternal; |
| 2253 int _inferredReturnTypeSlot; | 2413 int _inferredReturnTypeSlot; |
| 2414 List<UnlinkedConstructorInitializerBuilder> _constantInitializers; |
| 2254 | 2415 |
| 2255 @override | 2416 @override |
| 2256 String get name => _name ??= ''; | 2417 String get name => _name ??= ''; |
| 2257 | 2418 |
| 2258 /** | 2419 /** |
| 2259 * Name of the executable. For setters, this includes the trailing "=". For | 2420 * Name of the executable. For setters, this includes the trailing "=". For |
| 2260 * named constructors, this excludes the class name and excludes the ".". | 2421 * named constructors, this excludes the class name and excludes the ".". |
| 2261 * For unnamed constructors, this is the empty string. | 2422 * For unnamed constructors, this is the empty string. |
| 2262 */ | 2423 */ |
| 2263 void set name(String _value) { | 2424 void set name(String _value) { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2409 void set isExternal(bool _value) { | 2570 void set isExternal(bool _value) { |
| 2410 assert(!_finished); | 2571 assert(!_finished); |
| 2411 _isExternal = _value; | 2572 _isExternal = _value; |
| 2412 } | 2573 } |
| 2413 | 2574 |
| 2414 @override | 2575 @override |
| 2415 int get inferredReturnTypeSlot => _inferredReturnTypeSlot ??= 0; | 2576 int get inferredReturnTypeSlot => _inferredReturnTypeSlot ??= 0; |
| 2416 | 2577 |
| 2417 /** | 2578 /** |
| 2418 * If this executable's return type is inferable, nonzero slot id | 2579 * If this executable's return type is inferable, nonzero slot id |
| 2419 * identifying which entry in [LinkedLibrary.types] contains the inferred | 2580 * identifying which entry in [LinkedUnit.types] contains the inferred |
| 2420 * return type. If there is no matching entry in [LinkedLibrary.types], then | 2581 * return type. If there is no matching entry in [LinkedUnit.types], then |
| 2421 * no return type was inferred for this variable, so its static type is | 2582 * no return type was inferred for this variable, so its static type is |
| 2422 * `dynamic`. | 2583 * `dynamic`. |
| 2423 */ | 2584 */ |
| 2424 void set inferredReturnTypeSlot(int _value) { | 2585 void set inferredReturnTypeSlot(int _value) { |
| 2425 assert(!_finished); | 2586 assert(!_finished); |
| 2426 assert(_value == null || _value >= 0); | 2587 assert(_value == null || _value >= 0); |
| 2427 _inferredReturnTypeSlot = _value; | 2588 _inferredReturnTypeSlot = _value; |
| 2428 } | 2589 } |
| 2429 | 2590 |
| 2430 UnlinkedExecutableBuilder({String name, int nameOffset, UnlinkedDocumentationC
ommentBuilder documentationComment, List<UnlinkedConstBuilder> annotations, List
<UnlinkedTypeParamBuilder> typeParameters, EntityRefBuilder returnType, List<Unl
inkedParamBuilder> parameters, idl.UnlinkedExecutableKind kind, bool isAbstract,
bool isStatic, bool isConst, bool isFactory, bool isExternal, int inferredRetur
nTypeSlot}) | 2591 @override |
| 2592 List<UnlinkedConstructorInitializerBuilder> get constantInitializers => _const
antInitializers ??= <UnlinkedConstructorInitializerBuilder>[]; |
| 2593 |
| 2594 /** |
| 2595 * If a constant [UnlinkedExecutableKind.constructor], the constructor |
| 2596 * initializers. Otherwise empty. |
| 2597 */ |
| 2598 void set constantInitializers(List<UnlinkedConstructorInitializerBuilder> _val
ue) { |
| 2599 assert(!_finished); |
| 2600 _constantInitializers = _value; |
| 2601 } |
| 2602 |
| 2603 UnlinkedExecutableBuilder({String name, int nameOffset, UnlinkedDocumentationC
ommentBuilder documentationComment, List<UnlinkedConstBuilder> annotations, List
<UnlinkedTypeParamBuilder> typeParameters, EntityRefBuilder returnType, List<Unl
inkedParamBuilder> parameters, idl.UnlinkedExecutableKind kind, bool isAbstract,
bool isStatic, bool isConst, bool isFactory, bool isExternal, int inferredRetur
nTypeSlot, List<UnlinkedConstructorInitializerBuilder> constantInitializers}) |
| 2431 : _name = name, | 2604 : _name = name, |
| 2432 _nameOffset = nameOffset, | 2605 _nameOffset = nameOffset, |
| 2433 _documentationComment = documentationComment, | 2606 _documentationComment = documentationComment, |
| 2434 _annotations = annotations, | 2607 _annotations = annotations, |
| 2435 _typeParameters = typeParameters, | 2608 _typeParameters = typeParameters, |
| 2436 _returnType = returnType, | 2609 _returnType = returnType, |
| 2437 _parameters = parameters, | 2610 _parameters = parameters, |
| 2438 _kind = kind, | 2611 _kind = kind, |
| 2439 _isAbstract = isAbstract, | 2612 _isAbstract = isAbstract, |
| 2440 _isStatic = isStatic, | 2613 _isStatic = isStatic, |
| 2441 _isConst = isConst, | 2614 _isConst = isConst, |
| 2442 _isFactory = isFactory, | 2615 _isFactory = isFactory, |
| 2443 _isExternal = isExternal, | 2616 _isExternal = isExternal, |
| 2444 _inferredReturnTypeSlot = inferredReturnTypeSlot; | 2617 _inferredReturnTypeSlot = inferredReturnTypeSlot, |
| 2618 _constantInitializers = constantInitializers; |
| 2445 | 2619 |
| 2446 fb.Offset finish(fb.Builder fbBuilder) { | 2620 fb.Offset finish(fb.Builder fbBuilder) { |
| 2447 assert(!_finished); | 2621 assert(!_finished); |
| 2448 _finished = true; | 2622 _finished = true; |
| 2449 fb.Offset offset_name; | 2623 fb.Offset offset_name; |
| 2450 fb.Offset offset_documentationComment; | 2624 fb.Offset offset_documentationComment; |
| 2451 fb.Offset offset_annotations; | 2625 fb.Offset offset_annotations; |
| 2452 fb.Offset offset_typeParameters; | 2626 fb.Offset offset_typeParameters; |
| 2453 fb.Offset offset_returnType; | 2627 fb.Offset offset_returnType; |
| 2454 fb.Offset offset_parameters; | 2628 fb.Offset offset_parameters; |
| 2629 fb.Offset offset_constantInitializers; |
| 2455 if (_name != null) { | 2630 if (_name != null) { |
| 2456 offset_name = fbBuilder.writeString(_name); | 2631 offset_name = fbBuilder.writeString(_name); |
| 2457 } | 2632 } |
| 2458 if (_documentationComment != null) { | 2633 if (_documentationComment != null) { |
| 2459 offset_documentationComment = _documentationComment.finish(fbBuilder); | 2634 offset_documentationComment = _documentationComment.finish(fbBuilder); |
| 2460 } | 2635 } |
| 2461 if (!(_annotations == null || _annotations.isEmpty)) { | 2636 if (!(_annotations == null || _annotations.isEmpty)) { |
| 2462 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 2637 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 2463 } | 2638 } |
| 2464 if (!(_typeParameters == null || _typeParameters.isEmpty)) { | 2639 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 2465 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); | 2640 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 2466 } | 2641 } |
| 2467 if (_returnType != null) { | 2642 if (_returnType != null) { |
| 2468 offset_returnType = _returnType.finish(fbBuilder); | 2643 offset_returnType = _returnType.finish(fbBuilder); |
| 2469 } | 2644 } |
| 2470 if (!(_parameters == null || _parameters.isEmpty)) { | 2645 if (!(_parameters == null || _parameters.isEmpty)) { |
| 2471 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); | 2646 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); |
| 2472 } | 2647 } |
| 2648 if (!(_constantInitializers == null || _constantInitializers.isEmpty)) { |
| 2649 offset_constantInitializers = fbBuilder.writeList(_constantInitializers.ma
p((b) => b.finish(fbBuilder)).toList()); |
| 2650 } |
| 2473 fbBuilder.startTable(); | 2651 fbBuilder.startTable(); |
| 2474 if (offset_name != null) { | 2652 if (offset_name != null) { |
| 2475 fbBuilder.addOffset(0, offset_name); | 2653 fbBuilder.addOffset(0, offset_name); |
| 2476 } | 2654 } |
| 2477 if (_nameOffset != null && _nameOffset != 0) { | 2655 if (_nameOffset != null && _nameOffset != 0) { |
| 2478 fbBuilder.addUint32(1, _nameOffset); | 2656 fbBuilder.addUint32(1, _nameOffset); |
| 2479 } | 2657 } |
| 2480 if (offset_documentationComment != null) { | 2658 if (offset_documentationComment != null) { |
| 2481 fbBuilder.addOffset(2, offset_documentationComment); | 2659 fbBuilder.addOffset(2, offset_documentationComment); |
| 2482 } | 2660 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 2506 } | 2684 } |
| 2507 if (_isFactory == true) { | 2685 if (_isFactory == true) { |
| 2508 fbBuilder.addBool(11, true); | 2686 fbBuilder.addBool(11, true); |
| 2509 } | 2687 } |
| 2510 if (_isExternal == true) { | 2688 if (_isExternal == true) { |
| 2511 fbBuilder.addBool(12, true); | 2689 fbBuilder.addBool(12, true); |
| 2512 } | 2690 } |
| 2513 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { | 2691 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { |
| 2514 fbBuilder.addUint32(13, _inferredReturnTypeSlot); | 2692 fbBuilder.addUint32(13, _inferredReturnTypeSlot); |
| 2515 } | 2693 } |
| 2694 if (offset_constantInitializers != null) { |
| 2695 fbBuilder.addOffset(14, offset_constantInitializers); |
| 2696 } |
| 2516 return fbBuilder.endTable(); | 2697 return fbBuilder.endTable(); |
| 2517 } | 2698 } |
| 2518 } | 2699 } |
| 2519 | 2700 |
| 2520 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ | 2701 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ |
| 2521 const _UnlinkedExecutableReader(); | 2702 const _UnlinkedExecutableReader(); |
| 2522 | 2703 |
| 2523 @override | 2704 @override |
| 2524 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); | 2705 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); |
| 2525 } | 2706 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2536 List<idl.UnlinkedTypeParam> _typeParameters; | 2717 List<idl.UnlinkedTypeParam> _typeParameters; |
| 2537 idl.EntityRef _returnType; | 2718 idl.EntityRef _returnType; |
| 2538 List<idl.UnlinkedParam> _parameters; | 2719 List<idl.UnlinkedParam> _parameters; |
| 2539 idl.UnlinkedExecutableKind _kind; | 2720 idl.UnlinkedExecutableKind _kind; |
| 2540 bool _isAbstract; | 2721 bool _isAbstract; |
| 2541 bool _isStatic; | 2722 bool _isStatic; |
| 2542 bool _isConst; | 2723 bool _isConst; |
| 2543 bool _isFactory; | 2724 bool _isFactory; |
| 2544 bool _isExternal; | 2725 bool _isExternal; |
| 2545 int _inferredReturnTypeSlot; | 2726 int _inferredReturnTypeSlot; |
| 2727 List<idl.UnlinkedConstructorInitializer> _constantInitializers; |
| 2546 | 2728 |
| 2547 @override | 2729 @override |
| 2548 String get name { | 2730 String get name { |
| 2549 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 2731 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 2550 return _name; | 2732 return _name; |
| 2551 } | 2733 } |
| 2552 | 2734 |
| 2553 @override | 2735 @override |
| 2554 int get nameOffset { | 2736 int get nameOffset { |
| 2555 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 2737 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2620 bool get isExternal { | 2802 bool get isExternal { |
| 2621 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 12, false); | 2803 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 12, false); |
| 2622 return _isExternal; | 2804 return _isExternal; |
| 2623 } | 2805 } |
| 2624 | 2806 |
| 2625 @override | 2807 @override |
| 2626 int get inferredReturnTypeSlot { | 2808 int get inferredReturnTypeSlot { |
| 2627 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 13, 0); | 2809 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 13, 0); |
| 2628 return _inferredReturnTypeSlot; | 2810 return _inferredReturnTypeSlot; |
| 2629 } | 2811 } |
| 2812 |
| 2813 @override |
| 2814 List<idl.UnlinkedConstructorInitializer> get constantInitializers { |
| 2815 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 14, const <i
dl.UnlinkedConstructorInitializer>[]); |
| 2816 return _constantInitializers; |
| 2817 } |
| 2630 } | 2818 } |
| 2631 | 2819 |
| 2632 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { | 2820 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { |
| 2633 @override | 2821 @override |
| 2634 Map<String, Object> toMap() => { | 2822 Map<String, Object> toMap() => { |
| 2635 "name": name, | 2823 "name": name, |
| 2636 "nameOffset": nameOffset, | 2824 "nameOffset": nameOffset, |
| 2637 "documentationComment": documentationComment, | 2825 "documentationComment": documentationComment, |
| 2638 "annotations": annotations, | 2826 "annotations": annotations, |
| 2639 "typeParameters": typeParameters, | 2827 "typeParameters": typeParameters, |
| 2640 "returnType": returnType, | 2828 "returnType": returnType, |
| 2641 "parameters": parameters, | 2829 "parameters": parameters, |
| 2642 "kind": kind, | 2830 "kind": kind, |
| 2643 "isAbstract": isAbstract, | 2831 "isAbstract": isAbstract, |
| 2644 "isStatic": isStatic, | 2832 "isStatic": isStatic, |
| 2645 "isConst": isConst, | 2833 "isConst": isConst, |
| 2646 "isFactory": isFactory, | 2834 "isFactory": isFactory, |
| 2647 "isExternal": isExternal, | 2835 "isExternal": isExternal, |
| 2648 "inferredReturnTypeSlot": inferredReturnTypeSlot, | 2836 "inferredReturnTypeSlot": inferredReturnTypeSlot, |
| 2837 "constantInitializers": constantInitializers, |
| 2649 }; | 2838 }; |
| 2650 } | 2839 } |
| 2651 | 2840 |
| 2652 class UnlinkedExportNonPublicBuilder extends Object with _UnlinkedExportNonPubli
cMixin implements idl.UnlinkedExportNonPublic { | 2841 class UnlinkedExportNonPublicBuilder extends Object with _UnlinkedExportNonPubli
cMixin implements idl.UnlinkedExportNonPublic { |
| 2653 bool _finished = false; | 2842 bool _finished = false; |
| 2654 | 2843 |
| 2655 int _offset; | 2844 int _offset; |
| 2656 int _uriOffset; | 2845 int _uriOffset; |
| 2657 int _uriEnd; | 2846 int _uriEnd; |
| 2658 List<UnlinkedConstBuilder> _annotations; | 2847 List<UnlinkedConstBuilder> _annotations; |
| (...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5131 "type": type, | 5320 "type": type, |
| 5132 "constExpr": constExpr, | 5321 "constExpr": constExpr, |
| 5133 "isStatic": isStatic, | 5322 "isStatic": isStatic, |
| 5134 "isFinal": isFinal, | 5323 "isFinal": isFinal, |
| 5135 "isConst": isConst, | 5324 "isConst": isConst, |
| 5136 "propagatedTypeSlot": propagatedTypeSlot, | 5325 "propagatedTypeSlot": propagatedTypeSlot, |
| 5137 "inferredTypeSlot": inferredTypeSlot, | 5326 "inferredTypeSlot": inferredTypeSlot, |
| 5138 }; | 5327 }; |
| 5139 } | 5328 } |
| 5140 | 5329 |
| OLD | NEW |