| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 @override | 57 @override |
| 58 int get size => 1; | 58 int get size => 1; |
| 59 | 59 |
| 60 @override | 60 @override |
| 61 idl.ReferenceKind read(fb.BufferContext bc, int offset) { | 61 idl.ReferenceKind read(fb.BufferContext bc, int offset) { |
| 62 int index = const fb.Uint8Reader().read(bc, offset); | 62 int index = const fb.Uint8Reader().read(bc, offset); |
| 63 return index < idl.ReferenceKind.values.length ? idl.ReferenceKind.values[in
dex] : idl.ReferenceKind.classOrEnum; | 63 return index < idl.ReferenceKind.values.length ? idl.ReferenceKind.values[in
dex] : idl.ReferenceKind.classOrEnum; |
| 64 } | 64 } |
| 65 } | 65 } |
| 66 | 66 |
| 67 class _TypedefStyleReader extends fb.Reader<idl.TypedefStyle> { |
| 68 const _TypedefStyleReader() : super(); |
| 69 |
| 70 @override |
| 71 int get size => 1; |
| 72 |
| 73 @override |
| 74 idl.TypedefStyle read(fb.BufferContext bc, int offset) { |
| 75 int index = const fb.Uint8Reader().read(bc, offset); |
| 76 return index < idl.TypedefStyle.values.length ? idl.TypedefStyle.values[inde
x] : idl.TypedefStyle.functionType; |
| 77 } |
| 78 } |
| 79 |
| 67 class _UnlinkedConstructorInitializerKindReader extends fb.Reader<idl.UnlinkedCo
nstructorInitializerKind> { | 80 class _UnlinkedConstructorInitializerKindReader extends fb.Reader<idl.UnlinkedCo
nstructorInitializerKind> { |
| 68 const _UnlinkedConstructorInitializerKindReader() : super(); | 81 const _UnlinkedConstructorInitializerKindReader() : super(); |
| 69 | 82 |
| 70 @override | 83 @override |
| 71 int get size => 1; | 84 int get size => 1; |
| 72 | 85 |
| 73 @override | 86 @override |
| 74 idl.UnlinkedConstructorInitializerKind read(fb.BufferContext bc, int offset) { | 87 idl.UnlinkedConstructorInitializerKind read(fb.BufferContext bc, int offset) { |
| 75 int index = const fb.Uint8Reader().read(bc, offset); | 88 int index = const fb.Uint8Reader().read(bc, offset); |
| 76 return index < idl.UnlinkedConstructorInitializerKind.values.length ? idl.Un
linkedConstructorInitializerKind.values[index] : idl.UnlinkedConstructorInitiali
zerKind.field; | 89 return index < idl.UnlinkedConstructorInitializerKind.values.length ? idl.Un
linkedConstructorInitializerKind.values[index] : idl.UnlinkedConstructorInitiali
zerKind.field; |
| (...skipping 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1788 } | 1801 } |
| 1789 | 1802 |
| 1790 class EntityRefBuilder extends Object with _EntityRefMixin implements idl.Entity
Ref { | 1803 class EntityRefBuilder extends Object with _EntityRefMixin implements idl.Entity
Ref { |
| 1791 List<int> _implicitFunctionTypeIndices; | 1804 List<int> _implicitFunctionTypeIndices; |
| 1792 int _paramReference; | 1805 int _paramReference; |
| 1793 int _reference; | 1806 int _reference; |
| 1794 int _slot; | 1807 int _slot; |
| 1795 List<UnlinkedParamBuilder> _syntheticParams; | 1808 List<UnlinkedParamBuilder> _syntheticParams; |
| 1796 EntityRefBuilder _syntheticReturnType; | 1809 EntityRefBuilder _syntheticReturnType; |
| 1797 List<EntityRefBuilder> _typeArguments; | 1810 List<EntityRefBuilder> _typeArguments; |
| 1811 List<UnlinkedTypeParamBuilder> _typeParameters; |
| 1798 | 1812 |
| 1799 @override | 1813 @override |
| 1800 List<int> get implicitFunctionTypeIndices => _implicitFunctionTypeIndices ??=
<int>[]; | 1814 List<int> get implicitFunctionTypeIndices => _implicitFunctionTypeIndices ??=
<int>[]; |
| 1801 | 1815 |
| 1802 /** | 1816 /** |
| 1803 * If this is a reference to a function type implicitly defined by a | 1817 * If this is a reference to a function type implicitly defined by a |
| 1804 * function-typed parameter, a list of zero-based indices indicating the path | 1818 * function-typed parameter, a list of zero-based indices indicating the path |
| 1805 * from the entity referred to by [reference] to the appropriate type | 1819 * from the entity referred to by [reference] to the appropriate type |
| 1806 * parameter. Otherwise the empty list. | 1820 * parameter. Otherwise the empty list. |
| 1807 * | 1821 * |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1910 List<EntityRefBuilder> get typeArguments => _typeArguments ??= <EntityRefBuild
er>[]; | 1924 List<EntityRefBuilder> get typeArguments => _typeArguments ??= <EntityRefBuild
er>[]; |
| 1911 | 1925 |
| 1912 /** | 1926 /** |
| 1913 * If this is an instantiation of a generic type or generic executable, the | 1927 * If this is an instantiation of a generic type or generic executable, the |
| 1914 * type arguments used to instantiate it (if any). | 1928 * type arguments used to instantiate it (if any). |
| 1915 */ | 1929 */ |
| 1916 void set typeArguments(List<EntityRefBuilder> value) { | 1930 void set typeArguments(List<EntityRefBuilder> value) { |
| 1917 this._typeArguments = value; | 1931 this._typeArguments = value; |
| 1918 } | 1932 } |
| 1919 | 1933 |
| 1920 EntityRefBuilder({List<int> implicitFunctionTypeIndices, int paramReference, i
nt reference, int slot, List<UnlinkedParamBuilder> syntheticParams, EntityRefBui
lder syntheticReturnType, List<EntityRefBuilder> typeArguments}) | 1934 @override |
| 1935 List<UnlinkedTypeParamBuilder> get typeParameters => _typeParameters ??= <Unli
nkedTypeParamBuilder>[]; |
| 1936 |
| 1937 /** |
| 1938 * If this is a function type, the type parameters defined for the function |
| 1939 * type (if any). |
| 1940 */ |
| 1941 void set typeParameters(List<UnlinkedTypeParamBuilder> value) { |
| 1942 this._typeParameters = value; |
| 1943 } |
| 1944 |
| 1945 EntityRefBuilder({List<int> implicitFunctionTypeIndices, int paramReference, i
nt reference, int slot, List<UnlinkedParamBuilder> syntheticParams, EntityRefBui
lder syntheticReturnType, List<EntityRefBuilder> typeArguments, List<UnlinkedTyp
eParamBuilder> typeParameters}) |
| 1921 : _implicitFunctionTypeIndices = implicitFunctionTypeIndices, | 1946 : _implicitFunctionTypeIndices = implicitFunctionTypeIndices, |
| 1922 _paramReference = paramReference, | 1947 _paramReference = paramReference, |
| 1923 _reference = reference, | 1948 _reference = reference, |
| 1924 _slot = slot, | 1949 _slot = slot, |
| 1925 _syntheticParams = syntheticParams, | 1950 _syntheticParams = syntheticParams, |
| 1926 _syntheticReturnType = syntheticReturnType, | 1951 _syntheticReturnType = syntheticReturnType, |
| 1927 _typeArguments = typeArguments; | 1952 _typeArguments = typeArguments, |
| 1953 _typeParameters = typeParameters; |
| 1928 | 1954 |
| 1929 /** | 1955 /** |
| 1930 * Flush [informative] data recursively. | 1956 * Flush [informative] data recursively. |
| 1931 */ | 1957 */ |
| 1932 void flushInformative() { | 1958 void flushInformative() { |
| 1933 _syntheticParams?.forEach((b) => b.flushInformative()); | 1959 _syntheticParams?.forEach((b) => b.flushInformative()); |
| 1934 _syntheticReturnType?.flushInformative(); | 1960 _syntheticReturnType?.flushInformative(); |
| 1935 _typeArguments?.forEach((b) => b.flushInformative()); | 1961 _typeArguments?.forEach((b) => b.flushInformative()); |
| 1962 _typeParameters?.forEach((b) => b.flushInformative()); |
| 1936 } | 1963 } |
| 1937 | 1964 |
| 1938 /** | 1965 /** |
| 1939 * Accumulate non-[informative] data into [signature]. | 1966 * Accumulate non-[informative] data into [signature]. |
| 1940 */ | 1967 */ |
| 1941 void collectApiSignature(api_sig.ApiSignature signature) { | 1968 void collectApiSignature(api_sig.ApiSignature signature) { |
| 1942 signature.addInt(this._reference ?? 0); | 1969 signature.addInt(this._reference ?? 0); |
| 1943 if (this._typeArguments == null) { | 1970 if (this._typeArguments == null) { |
| 1944 signature.addInt(0); | 1971 signature.addInt(0); |
| 1945 } else { | 1972 } else { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1961 signature.addBool(this._syntheticReturnType != null); | 1988 signature.addBool(this._syntheticReturnType != null); |
| 1962 this._syntheticReturnType?.collectApiSignature(signature); | 1989 this._syntheticReturnType?.collectApiSignature(signature); |
| 1963 if (this._syntheticParams == null) { | 1990 if (this._syntheticParams == null) { |
| 1964 signature.addInt(0); | 1991 signature.addInt(0); |
| 1965 } else { | 1992 } else { |
| 1966 signature.addInt(this._syntheticParams.length); | 1993 signature.addInt(this._syntheticParams.length); |
| 1967 for (var x in this._syntheticParams) { | 1994 for (var x in this._syntheticParams) { |
| 1968 x?.collectApiSignature(signature); | 1995 x?.collectApiSignature(signature); |
| 1969 } | 1996 } |
| 1970 } | 1997 } |
| 1998 if (this._typeParameters == null) { |
| 1999 signature.addInt(0); |
| 2000 } else { |
| 2001 signature.addInt(this._typeParameters.length); |
| 2002 for (var x in this._typeParameters) { |
| 2003 x?.collectApiSignature(signature); |
| 2004 } |
| 2005 } |
| 1971 } | 2006 } |
| 1972 | 2007 |
| 1973 fb.Offset finish(fb.Builder fbBuilder) { | 2008 fb.Offset finish(fb.Builder fbBuilder) { |
| 1974 fb.Offset offset_implicitFunctionTypeIndices; | 2009 fb.Offset offset_implicitFunctionTypeIndices; |
| 1975 fb.Offset offset_syntheticParams; | 2010 fb.Offset offset_syntheticParams; |
| 1976 fb.Offset offset_syntheticReturnType; | 2011 fb.Offset offset_syntheticReturnType; |
| 1977 fb.Offset offset_typeArguments; | 2012 fb.Offset offset_typeArguments; |
| 2013 fb.Offset offset_typeParameters; |
| 1978 if (!(_implicitFunctionTypeIndices == null || _implicitFunctionTypeIndices.i
sEmpty)) { | 2014 if (!(_implicitFunctionTypeIndices == null || _implicitFunctionTypeIndices.i
sEmpty)) { |
| 1979 offset_implicitFunctionTypeIndices = fbBuilder.writeListUint32(_implicitFu
nctionTypeIndices); | 2015 offset_implicitFunctionTypeIndices = fbBuilder.writeListUint32(_implicitFu
nctionTypeIndices); |
| 1980 } | 2016 } |
| 1981 if (!(_syntheticParams == null || _syntheticParams.isEmpty)) { | 2017 if (!(_syntheticParams == null || _syntheticParams.isEmpty)) { |
| 1982 offset_syntheticParams = fbBuilder.writeList(_syntheticParams.map((b) => b
.finish(fbBuilder)).toList()); | 2018 offset_syntheticParams = fbBuilder.writeList(_syntheticParams.map((b) => b
.finish(fbBuilder)).toList()); |
| 1983 } | 2019 } |
| 1984 if (_syntheticReturnType != null) { | 2020 if (_syntheticReturnType != null) { |
| 1985 offset_syntheticReturnType = _syntheticReturnType.finish(fbBuilder); | 2021 offset_syntheticReturnType = _syntheticReturnType.finish(fbBuilder); |
| 1986 } | 2022 } |
| 1987 if (!(_typeArguments == null || _typeArguments.isEmpty)) { | 2023 if (!(_typeArguments == null || _typeArguments.isEmpty)) { |
| 1988 offset_typeArguments = fbBuilder.writeList(_typeArguments.map((b) => b.fin
ish(fbBuilder)).toList()); | 2024 offset_typeArguments = fbBuilder.writeList(_typeArguments.map((b) => b.fin
ish(fbBuilder)).toList()); |
| 1989 } | 2025 } |
| 2026 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 2027 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 2028 } |
| 1990 fbBuilder.startTable(); | 2029 fbBuilder.startTable(); |
| 1991 if (offset_implicitFunctionTypeIndices != null) { | 2030 if (offset_implicitFunctionTypeIndices != null) { |
| 1992 fbBuilder.addOffset(4, offset_implicitFunctionTypeIndices); | 2031 fbBuilder.addOffset(4, offset_implicitFunctionTypeIndices); |
| 1993 } | 2032 } |
| 1994 if (_paramReference != null && _paramReference != 0) { | 2033 if (_paramReference != null && _paramReference != 0) { |
| 1995 fbBuilder.addUint32(3, _paramReference); | 2034 fbBuilder.addUint32(3, _paramReference); |
| 1996 } | 2035 } |
| 1997 if (_reference != null && _reference != 0) { | 2036 if (_reference != null && _reference != 0) { |
| 1998 fbBuilder.addUint32(0, _reference); | 2037 fbBuilder.addUint32(0, _reference); |
| 1999 } | 2038 } |
| 2000 if (_slot != null && _slot != 0) { | 2039 if (_slot != null && _slot != 0) { |
| 2001 fbBuilder.addUint32(2, _slot); | 2040 fbBuilder.addUint32(2, _slot); |
| 2002 } | 2041 } |
| 2003 if (offset_syntheticParams != null) { | 2042 if (offset_syntheticParams != null) { |
| 2004 fbBuilder.addOffset(6, offset_syntheticParams); | 2043 fbBuilder.addOffset(6, offset_syntheticParams); |
| 2005 } | 2044 } |
| 2006 if (offset_syntheticReturnType != null) { | 2045 if (offset_syntheticReturnType != null) { |
| 2007 fbBuilder.addOffset(5, offset_syntheticReturnType); | 2046 fbBuilder.addOffset(5, offset_syntheticReturnType); |
| 2008 } | 2047 } |
| 2009 if (offset_typeArguments != null) { | 2048 if (offset_typeArguments != null) { |
| 2010 fbBuilder.addOffset(1, offset_typeArguments); | 2049 fbBuilder.addOffset(1, offset_typeArguments); |
| 2011 } | 2050 } |
| 2051 if (offset_typeParameters != null) { |
| 2052 fbBuilder.addOffset(7, offset_typeParameters); |
| 2053 } |
| 2012 return fbBuilder.endTable(); | 2054 return fbBuilder.endTable(); |
| 2013 } | 2055 } |
| 2014 } | 2056 } |
| 2015 | 2057 |
| 2016 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { | 2058 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { |
| 2017 const _EntityRefReader(); | 2059 const _EntityRefReader(); |
| 2018 | 2060 |
| 2019 @override | 2061 @override |
| 2020 _EntityRefImpl createObject(fb.BufferContext bc, int offset) => new _EntityRef
Impl(bc, offset); | 2062 _EntityRefImpl createObject(fb.BufferContext bc, int offset) => new _EntityRef
Impl(bc, offset); |
| 2021 } | 2063 } |
| 2022 | 2064 |
| 2023 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { | 2065 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { |
| 2024 final fb.BufferContext _bc; | 2066 final fb.BufferContext _bc; |
| 2025 final int _bcOffset; | 2067 final int _bcOffset; |
| 2026 | 2068 |
| 2027 _EntityRefImpl(this._bc, this._bcOffset); | 2069 _EntityRefImpl(this._bc, this._bcOffset); |
| 2028 | 2070 |
| 2029 List<int> _implicitFunctionTypeIndices; | 2071 List<int> _implicitFunctionTypeIndices; |
| 2030 int _paramReference; | 2072 int _paramReference; |
| 2031 int _reference; | 2073 int _reference; |
| 2032 int _slot; | 2074 int _slot; |
| 2033 List<idl.UnlinkedParam> _syntheticParams; | 2075 List<idl.UnlinkedParam> _syntheticParams; |
| 2034 idl.EntityRef _syntheticReturnType; | 2076 idl.EntityRef _syntheticReturnType; |
| 2035 List<idl.EntityRef> _typeArguments; | 2077 List<idl.EntityRef> _typeArguments; |
| 2078 List<idl.UnlinkedTypeParam> _typeParameters; |
| 2036 | 2079 |
| 2037 @override | 2080 @override |
| 2038 List<int> get implicitFunctionTypeIndices { | 2081 List<int> get implicitFunctionTypeIndices { |
| 2039 _implicitFunctionTypeIndices ??= const fb.Uint32ListReader().vTableGet(_bc,
_bcOffset, 4, const <int>[]); | 2082 _implicitFunctionTypeIndices ??= const fb.Uint32ListReader().vTableGet(_bc,
_bcOffset, 4, const <int>[]); |
| 2040 return _implicitFunctionTypeIndices; | 2083 return _implicitFunctionTypeIndices; |
| 2041 } | 2084 } |
| 2042 | 2085 |
| 2043 @override | 2086 @override |
| 2044 int get paramReference { | 2087 int get paramReference { |
| 2045 _paramReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3, 0); | 2088 _paramReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3, 0); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2068 idl.EntityRef get syntheticReturnType { | 2111 idl.EntityRef get syntheticReturnType { |
| 2069 _syntheticReturnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset,
5, null); | 2112 _syntheticReturnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset,
5, null); |
| 2070 return _syntheticReturnType; | 2113 return _syntheticReturnType; |
| 2071 } | 2114 } |
| 2072 | 2115 |
| 2073 @override | 2116 @override |
| 2074 List<idl.EntityRef> get typeArguments { | 2117 List<idl.EntityRef> get typeArguments { |
| 2075 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bc, _bcOffset, 1, const <idl.EntityRef>[]); | 2118 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bc, _bcOffset, 1, const <idl.EntityRef>[]); |
| 2076 return _typeArguments; | 2119 return _typeArguments; |
| 2077 } | 2120 } |
| 2121 |
| 2122 @override |
| 2123 List<idl.UnlinkedTypeParam> get typeParameters { |
| 2124 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 7, const <idl.UnlinkedTypeParam>[
]); |
| 2125 return _typeParameters; |
| 2126 } |
| 2078 } | 2127 } |
| 2079 | 2128 |
| 2080 abstract class _EntityRefMixin implements idl.EntityRef { | 2129 abstract class _EntityRefMixin implements idl.EntityRef { |
| 2081 @override | 2130 @override |
| 2082 Map<String, Object> toJson() { | 2131 Map<String, Object> toJson() { |
| 2083 Map<String, Object> _result = <String, Object>{}; | 2132 Map<String, Object> _result = <String, Object>{}; |
| 2084 if (implicitFunctionTypeIndices.isNotEmpty) _result["implicitFunctionTypeInd
ices"] = implicitFunctionTypeIndices; | 2133 if (implicitFunctionTypeIndices.isNotEmpty) _result["implicitFunctionTypeInd
ices"] = implicitFunctionTypeIndices; |
| 2085 if (paramReference != 0) _result["paramReference"] = paramReference; | 2134 if (paramReference != 0) _result["paramReference"] = paramReference; |
| 2086 if (reference != 0) _result["reference"] = reference; | 2135 if (reference != 0) _result["reference"] = reference; |
| 2087 if (slot != 0) _result["slot"] = slot; | 2136 if (slot != 0) _result["slot"] = slot; |
| 2088 if (syntheticParams.isNotEmpty) _result["syntheticParams"] = syntheticParams
.map((_value) => _value.toJson()).toList(); | 2137 if (syntheticParams.isNotEmpty) _result["syntheticParams"] = syntheticParams
.map((_value) => _value.toJson()).toList(); |
| 2089 if (syntheticReturnType != null) _result["syntheticReturnType"] = syntheticR
eturnType.toJson(); | 2138 if (syntheticReturnType != null) _result["syntheticReturnType"] = syntheticR
eturnType.toJson(); |
| 2090 if (typeArguments.isNotEmpty) _result["typeArguments"] = typeArguments.map((
_value) => _value.toJson()).toList(); | 2139 if (typeArguments.isNotEmpty) _result["typeArguments"] = typeArguments.map((
_value) => _value.toJson()).toList(); |
| 2140 if (typeParameters.isNotEmpty) _result["typeParameters"] = typeParameters.ma
p((_value) => _value.toJson()).toList(); |
| 2091 return _result; | 2141 return _result; |
| 2092 } | 2142 } |
| 2093 | 2143 |
| 2094 @override | 2144 @override |
| 2095 Map<String, Object> toMap() => { | 2145 Map<String, Object> toMap() => { |
| 2096 "implicitFunctionTypeIndices": implicitFunctionTypeIndices, | 2146 "implicitFunctionTypeIndices": implicitFunctionTypeIndices, |
| 2097 "paramReference": paramReference, | 2147 "paramReference": paramReference, |
| 2098 "reference": reference, | 2148 "reference": reference, |
| 2099 "slot": slot, | 2149 "slot": slot, |
| 2100 "syntheticParams": syntheticParams, | 2150 "syntheticParams": syntheticParams, |
| 2101 "syntheticReturnType": syntheticReturnType, | 2151 "syntheticReturnType": syntheticReturnType, |
| 2102 "typeArguments": typeArguments, | 2152 "typeArguments": typeArguments, |
| 2153 "typeParameters": typeParameters, |
| 2103 }; | 2154 }; |
| 2104 | 2155 |
| 2105 @override | 2156 @override |
| 2106 String toString() => convert.JSON.encode(toJson()); | 2157 String toString() => convert.JSON.encode(toJson()); |
| 2107 } | 2158 } |
| 2108 | 2159 |
| 2109 class LinkedDependencyBuilder extends Object with _LinkedDependencyMixin impleme
nts idl.LinkedDependency { | 2160 class LinkedDependencyBuilder extends Object with _LinkedDependencyMixin impleme
nts idl.LinkedDependency { |
| 2110 List<String> _parts; | 2161 List<String> _parts; |
| 2111 String _uri; | 2162 String _uri; |
| 2112 | 2163 |
| (...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3741 */ | 3792 */ |
| 3742 void set elementKinds(List<idl.IndexSyntheticElementKind> value) { | 3793 void set elementKinds(List<idl.IndexSyntheticElementKind> value) { |
| 3743 this._elementKinds = value; | 3794 this._elementKinds = value; |
| 3744 } | 3795 } |
| 3745 | 3796 |
| 3746 @override | 3797 @override |
| 3747 List<int> get elementNameClassMemberIds => _elementNameClassMemberIds ??= <int
>[]; | 3798 List<int> get elementNameClassMemberIds => _elementNameClassMemberIds ??= <int
>[]; |
| 3748 | 3799 |
| 3749 /** | 3800 /** |
| 3750 * Each item of this list corresponds to a unique referenced element. It is | 3801 * Each item of this list corresponds to a unique referenced element. It is |
| 3751 * the identifier of the class member element name, or `null` if the element i
s | 3802 * the identifier of the class member element name, or `null` if the element |
| 3752 * a top-level element. The list is sorted in ascending order, so that the | 3803 * is a top-level element. The list is sorted in ascending order, so that the |
| 3753 * client can quickly check whether an element is referenced in this | 3804 * client can quickly check whether an element is referenced in this |
| 3754 * [PackageIndex]. | 3805 * [PackageIndex]. |
| 3755 */ | 3806 */ |
| 3756 void set elementNameClassMemberIds(List<int> value) { | 3807 void set elementNameClassMemberIds(List<int> value) { |
| 3757 assert(value == null || value.every((e) => e >= 0)); | 3808 assert(value == null || value.every((e) => e >= 0)); |
| 3758 this._elementNameClassMemberIds = value; | 3809 this._elementNameClassMemberIds = value; |
| 3759 } | 3810 } |
| 3760 | 3811 |
| 3761 @override | 3812 @override |
| 3762 List<int> get elementNameParameterIds => _elementNameParameterIds ??= <int>[]; | 3813 List<int> get elementNameParameterIds => _elementNameParameterIds ??= <int>[]; |
| (...skipping 4601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8364 */ | 8415 */ |
| 8365 void set inheritsCovariantSlot(int value) { | 8416 void set inheritsCovariantSlot(int value) { |
| 8366 assert(value == null || value >= 0); | 8417 assert(value == null || value >= 0); |
| 8367 this._inheritsCovariantSlot = value; | 8418 this._inheritsCovariantSlot = value; |
| 8368 } | 8419 } |
| 8369 | 8420 |
| 8370 @override | 8421 @override |
| 8371 UnlinkedExecutableBuilder get initializer => _initializer; | 8422 UnlinkedExecutableBuilder get initializer => _initializer; |
| 8372 | 8423 |
| 8373 /** | 8424 /** |
| 8374 * The synthetic initializer function of the parameter. Absent if the variabl
e | 8425 * The synthetic initializer function of the parameter. Absent if the |
| 8375 * does not have an initializer. | 8426 * variable does not have an initializer. |
| 8376 */ | 8427 */ |
| 8377 void set initializer(UnlinkedExecutableBuilder value) { | 8428 void set initializer(UnlinkedExecutableBuilder value) { |
| 8378 this._initializer = value; | 8429 this._initializer = value; |
| 8379 } | 8430 } |
| 8380 | 8431 |
| 8381 @override | 8432 @override |
| 8382 bool get isExplicitlyCovariant => _isExplicitlyCovariant ??= false; | 8433 bool get isExplicitlyCovariant => _isExplicitlyCovariant ??= false; |
| 8383 | 8434 |
| 8384 /** | 8435 /** |
| 8385 * Indicates whether this parameter is explicitly marked as being covariant. | 8436 * Indicates whether this parameter is explicitly marked as being covariant. |
| 8386 */ | 8437 */ |
| 8387 void set isExplicitlyCovariant(bool value) { | 8438 void set isExplicitlyCovariant(bool value) { |
| 8388 this._isExplicitlyCovariant = value; | 8439 this._isExplicitlyCovariant = value; |
| 8389 } | 8440 } |
| 8390 | 8441 |
| 8391 @override | 8442 @override |
| 8392 bool get isFinal => _isFinal ??= false; | 8443 bool get isFinal => _isFinal ??= false; |
| 8393 | 8444 |
| 8394 /** | 8445 /** |
| 8395 * Indicates whether the parameter is declared using the `final` keyword. | 8446 * Indicates whether the parameter is declared using the `final` keyword. |
| 8396 */ | 8447 */ |
| 8397 void set isFinal(bool value) { | 8448 void set isFinal(bool value) { |
| 8398 this._isFinal = value; | 8449 this._isFinal = value; |
| 8399 } | 8450 } |
| 8400 | 8451 |
| 8401 @override | 8452 @override |
| 8402 bool get isFunctionTyped => _isFunctionTyped ??= false; | 8453 bool get isFunctionTyped => _isFunctionTyped ??= false; |
| 8403 | 8454 |
| 8404 /** | 8455 /** |
| 8405 * Indicates whether this is a function-typed parameter. | 8456 * Indicates whether this is a function-typed parameter. A parameter is |
| 8457 * function-typed if the declaration of the parameter has explicit formal |
| 8458 * parameters |
| 8459 * ``` |
| 8460 * int functionTyped(int p) |
| 8461 * ``` |
| 8462 * but is not function-typed if it does not, even if the type of the parameter |
| 8463 * is a function type. |
| 8406 */ | 8464 */ |
| 8407 void set isFunctionTyped(bool value) { | 8465 void set isFunctionTyped(bool value) { |
| 8408 this._isFunctionTyped = value; | 8466 this._isFunctionTyped = value; |
| 8409 } | 8467 } |
| 8410 | 8468 |
| 8411 @override | 8469 @override |
| 8412 bool get isInitializingFormal => _isInitializingFormal ??= false; | 8470 bool get isInitializingFormal => _isInitializingFormal ??= false; |
| 8413 | 8471 |
| 8414 /** | 8472 /** |
| 8415 * Indicates whether this is an initializing formal parameter (i.e. it is | 8473 * Indicates whether this is an initializing formal parameter (i.e. it is |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9438 } | 9496 } |
| 9439 | 9497 |
| 9440 class UnlinkedTypedefBuilder extends Object with _UnlinkedTypedefMixin implement
s idl.UnlinkedTypedef { | 9498 class UnlinkedTypedefBuilder extends Object with _UnlinkedTypedefMixin implement
s idl.UnlinkedTypedef { |
| 9441 List<UnlinkedExprBuilder> _annotations; | 9499 List<UnlinkedExprBuilder> _annotations; |
| 9442 CodeRangeBuilder _codeRange; | 9500 CodeRangeBuilder _codeRange; |
| 9443 UnlinkedDocumentationCommentBuilder _documentationComment; | 9501 UnlinkedDocumentationCommentBuilder _documentationComment; |
| 9444 String _name; | 9502 String _name; |
| 9445 int _nameOffset; | 9503 int _nameOffset; |
| 9446 List<UnlinkedParamBuilder> _parameters; | 9504 List<UnlinkedParamBuilder> _parameters; |
| 9447 EntityRefBuilder _returnType; | 9505 EntityRefBuilder _returnType; |
| 9506 idl.TypedefStyle _style; |
| 9448 List<UnlinkedTypeParamBuilder> _typeParameters; | 9507 List<UnlinkedTypeParamBuilder> _typeParameters; |
| 9449 | 9508 |
| 9450 @override | 9509 @override |
| 9451 List<UnlinkedExprBuilder> get annotations => _annotations ??= <UnlinkedExprBui
lder>[]; | 9510 List<UnlinkedExprBuilder> get annotations => _annotations ??= <UnlinkedExprBui
lder>[]; |
| 9452 | 9511 |
| 9453 /** | 9512 /** |
| 9454 * Annotations for this typedef. | 9513 * Annotations for this typedef. |
| 9455 */ | 9514 */ |
| 9456 void set annotations(List<UnlinkedExprBuilder> value) { | 9515 void set annotations(List<UnlinkedExprBuilder> value) { |
| 9457 this._annotations = value; | 9516 this._annotations = value; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9506 * Parameters of the executable, if any. | 9565 * Parameters of the executable, if any. |
| 9507 */ | 9566 */ |
| 9508 void set parameters(List<UnlinkedParamBuilder> value) { | 9567 void set parameters(List<UnlinkedParamBuilder> value) { |
| 9509 this._parameters = value; | 9568 this._parameters = value; |
| 9510 } | 9569 } |
| 9511 | 9570 |
| 9512 @override | 9571 @override |
| 9513 EntityRefBuilder get returnType => _returnType; | 9572 EntityRefBuilder get returnType => _returnType; |
| 9514 | 9573 |
| 9515 /** | 9574 /** |
| 9516 * Return type of the typedef. | 9575 * If [style] is [TypedefStyle.functionType], the return type of the typedef. |
| 9576 * If [style] is [TypedefStyle.genericFunctionType], the function type being |
| 9577 * defined. |
| 9517 */ | 9578 */ |
| 9518 void set returnType(EntityRefBuilder value) { | 9579 void set returnType(EntityRefBuilder value) { |
| 9519 this._returnType = value; | 9580 this._returnType = value; |
| 9520 } | 9581 } |
| 9521 | 9582 |
| 9522 @override | 9583 @override |
| 9584 idl.TypedefStyle get style => _style ??= idl.TypedefStyle.functionType; |
| 9585 |
| 9586 /** |
| 9587 * The style of the typedef. |
| 9588 */ |
| 9589 void set style(idl.TypedefStyle value) { |
| 9590 this._style = value; |
| 9591 } |
| 9592 |
| 9593 @override |
| 9523 List<UnlinkedTypeParamBuilder> get typeParameters => _typeParameters ??= <Unli
nkedTypeParamBuilder>[]; | 9594 List<UnlinkedTypeParamBuilder> get typeParameters => _typeParameters ??= <Unli
nkedTypeParamBuilder>[]; |
| 9524 | 9595 |
| 9525 /** | 9596 /** |
| 9526 * Type parameters of the typedef, if any. | 9597 * Type parameters of the typedef, if any. |
| 9527 */ | 9598 */ |
| 9528 void set typeParameters(List<UnlinkedTypeParamBuilder> value) { | 9599 void set typeParameters(List<UnlinkedTypeParamBuilder> value) { |
| 9529 this._typeParameters = value; | 9600 this._typeParameters = value; |
| 9530 } | 9601 } |
| 9531 | 9602 |
| 9532 UnlinkedTypedefBuilder({List<UnlinkedExprBuilder> annotations, CodeRangeBuilde
r codeRange, UnlinkedDocumentationCommentBuilder documentationComment, String na
me, int nameOffset, List<UnlinkedParamBuilder> parameters, EntityRefBuilder retu
rnType, List<UnlinkedTypeParamBuilder> typeParameters}) | 9603 UnlinkedTypedefBuilder({List<UnlinkedExprBuilder> annotations, CodeRangeBuilde
r codeRange, UnlinkedDocumentationCommentBuilder documentationComment, String na
me, int nameOffset, List<UnlinkedParamBuilder> parameters, EntityRefBuilder retu
rnType, idl.TypedefStyle style, List<UnlinkedTypeParamBuilder> typeParameters}) |
| 9533 : _annotations = annotations, | 9604 : _annotations = annotations, |
| 9534 _codeRange = codeRange, | 9605 _codeRange = codeRange, |
| 9535 _documentationComment = documentationComment, | 9606 _documentationComment = documentationComment, |
| 9536 _name = name, | 9607 _name = name, |
| 9537 _nameOffset = nameOffset, | 9608 _nameOffset = nameOffset, |
| 9538 _parameters = parameters, | 9609 _parameters = parameters, |
| 9539 _returnType = returnType, | 9610 _returnType = returnType, |
| 9611 _style = style, |
| 9540 _typeParameters = typeParameters; | 9612 _typeParameters = typeParameters; |
| 9541 | 9613 |
| 9542 /** | 9614 /** |
| 9543 * Flush [informative] data recursively. | 9615 * Flush [informative] data recursively. |
| 9544 */ | 9616 */ |
| 9545 void flushInformative() { | 9617 void flushInformative() { |
| 9546 _annotations?.forEach((b) => b.flushInformative()); | 9618 _annotations?.forEach((b) => b.flushInformative()); |
| 9547 _codeRange = null; | 9619 _codeRange = null; |
| 9548 _documentationComment = null; | 9620 _documentationComment = null; |
| 9549 _nameOffset = null; | 9621 _nameOffset = null; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 9576 } | 9648 } |
| 9577 } | 9649 } |
| 9578 if (this._typeParameters == null) { | 9650 if (this._typeParameters == null) { |
| 9579 signature.addInt(0); | 9651 signature.addInt(0); |
| 9580 } else { | 9652 } else { |
| 9581 signature.addInt(this._typeParameters.length); | 9653 signature.addInt(this._typeParameters.length); |
| 9582 for (var x in this._typeParameters) { | 9654 for (var x in this._typeParameters) { |
| 9583 x?.collectApiSignature(signature); | 9655 x?.collectApiSignature(signature); |
| 9584 } | 9656 } |
| 9585 } | 9657 } |
| 9658 signature.addInt(this._style == null ? 0 : this._style.index); |
| 9586 } | 9659 } |
| 9587 | 9660 |
| 9588 fb.Offset finish(fb.Builder fbBuilder) { | 9661 fb.Offset finish(fb.Builder fbBuilder) { |
| 9589 fb.Offset offset_annotations; | 9662 fb.Offset offset_annotations; |
| 9590 fb.Offset offset_codeRange; | 9663 fb.Offset offset_codeRange; |
| 9591 fb.Offset offset_documentationComment; | 9664 fb.Offset offset_documentationComment; |
| 9592 fb.Offset offset_name; | 9665 fb.Offset offset_name; |
| 9593 fb.Offset offset_parameters; | 9666 fb.Offset offset_parameters; |
| 9594 fb.Offset offset_returnType; | 9667 fb.Offset offset_returnType; |
| 9595 fb.Offset offset_typeParameters; | 9668 fb.Offset offset_typeParameters; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9629 } | 9702 } |
| 9630 if (_nameOffset != null && _nameOffset != 0) { | 9703 if (_nameOffset != null && _nameOffset != 0) { |
| 9631 fbBuilder.addUint32(1, _nameOffset); | 9704 fbBuilder.addUint32(1, _nameOffset); |
| 9632 } | 9705 } |
| 9633 if (offset_parameters != null) { | 9706 if (offset_parameters != null) { |
| 9634 fbBuilder.addOffset(3, offset_parameters); | 9707 fbBuilder.addOffset(3, offset_parameters); |
| 9635 } | 9708 } |
| 9636 if (offset_returnType != null) { | 9709 if (offset_returnType != null) { |
| 9637 fbBuilder.addOffset(2, offset_returnType); | 9710 fbBuilder.addOffset(2, offset_returnType); |
| 9638 } | 9711 } |
| 9712 if (_style != null && _style != idl.TypedefStyle.functionType) { |
| 9713 fbBuilder.addUint8(8, _style.index); |
| 9714 } |
| 9639 if (offset_typeParameters != null) { | 9715 if (offset_typeParameters != null) { |
| 9640 fbBuilder.addOffset(5, offset_typeParameters); | 9716 fbBuilder.addOffset(5, offset_typeParameters); |
| 9641 } | 9717 } |
| 9642 return fbBuilder.endTable(); | 9718 return fbBuilder.endTable(); |
| 9643 } | 9719 } |
| 9644 } | 9720 } |
| 9645 | 9721 |
| 9646 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { | 9722 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { |
| 9647 const _UnlinkedTypedefReader(); | 9723 const _UnlinkedTypedefReader(); |
| 9648 | 9724 |
| 9649 @override | 9725 @override |
| 9650 _UnlinkedTypedefImpl createObject(fb.BufferContext bc, int offset) => new _Unl
inkedTypedefImpl(bc, offset); | 9726 _UnlinkedTypedefImpl createObject(fb.BufferContext bc, int offset) => new _Unl
inkedTypedefImpl(bc, offset); |
| 9651 } | 9727 } |
| 9652 | 9728 |
| 9653 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { | 9729 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { |
| 9654 final fb.BufferContext _bc; | 9730 final fb.BufferContext _bc; |
| 9655 final int _bcOffset; | 9731 final int _bcOffset; |
| 9656 | 9732 |
| 9657 _UnlinkedTypedefImpl(this._bc, this._bcOffset); | 9733 _UnlinkedTypedefImpl(this._bc, this._bcOffset); |
| 9658 | 9734 |
| 9659 List<idl.UnlinkedExpr> _annotations; | 9735 List<idl.UnlinkedExpr> _annotations; |
| 9660 idl.CodeRange _codeRange; | 9736 idl.CodeRange _codeRange; |
| 9661 idl.UnlinkedDocumentationComment _documentationComment; | 9737 idl.UnlinkedDocumentationComment _documentationComment; |
| 9662 String _name; | 9738 String _name; |
| 9663 int _nameOffset; | 9739 int _nameOffset; |
| 9664 List<idl.UnlinkedParam> _parameters; | 9740 List<idl.UnlinkedParam> _parameters; |
| 9665 idl.EntityRef _returnType; | 9741 idl.EntityRef _returnType; |
| 9742 idl.TypedefStyle _style; |
| 9666 List<idl.UnlinkedTypeParam> _typeParameters; | 9743 List<idl.UnlinkedTypeParam> _typeParameters; |
| 9667 | 9744 |
| 9668 @override | 9745 @override |
| 9669 List<idl.UnlinkedExpr> get annotations { | 9746 List<idl.UnlinkedExpr> get annotations { |
| 9670 _annotations ??= const fb.ListReader<idl.UnlinkedExpr>(const _UnlinkedExprRe
ader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedExpr>[]); | 9747 _annotations ??= const fb.ListReader<idl.UnlinkedExpr>(const _UnlinkedExprRe
ader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedExpr>[]); |
| 9671 return _annotations; | 9748 return _annotations; |
| 9672 } | 9749 } |
| 9673 | 9750 |
| 9674 @override | 9751 @override |
| 9675 idl.CodeRange get codeRange { | 9752 idl.CodeRange get codeRange { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 9701 return _parameters; | 9778 return _parameters; |
| 9702 } | 9779 } |
| 9703 | 9780 |
| 9704 @override | 9781 @override |
| 9705 idl.EntityRef get returnType { | 9782 idl.EntityRef get returnType { |
| 9706 _returnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 2, null); | 9783 _returnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 2, null); |
| 9707 return _returnType; | 9784 return _returnType; |
| 9708 } | 9785 } |
| 9709 | 9786 |
| 9710 @override | 9787 @override |
| 9788 idl.TypedefStyle get style { |
| 9789 _style ??= const _TypedefStyleReader().vTableGet(_bc, _bcOffset, 8, idl.Type
defStyle.functionType); |
| 9790 return _style; |
| 9791 } |
| 9792 |
| 9793 @override |
| 9711 List<idl.UnlinkedTypeParam> get typeParameters { | 9794 List<idl.UnlinkedTypeParam> get typeParameters { |
| 9712 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 5, const <idl.UnlinkedTypeParam>[
]); | 9795 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 5, const <idl.UnlinkedTypeParam>[
]); |
| 9713 return _typeParameters; | 9796 return _typeParameters; |
| 9714 } | 9797 } |
| 9715 } | 9798 } |
| 9716 | 9799 |
| 9717 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { | 9800 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { |
| 9718 @override | 9801 @override |
| 9719 Map<String, Object> toJson() { | 9802 Map<String, Object> toJson() { |
| 9720 Map<String, Object> _result = <String, Object>{}; | 9803 Map<String, Object> _result = <String, Object>{}; |
| 9721 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 9804 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 9722 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 9805 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| 9723 if (documentationComment != null) _result["documentationComment"] = document
ationComment.toJson(); | 9806 if (documentationComment != null) _result["documentationComment"] = document
ationComment.toJson(); |
| 9724 if (name != '') _result["name"] = name; | 9807 if (name != '') _result["name"] = name; |
| 9725 if (nameOffset != 0) _result["nameOffset"] = nameOffset; | 9808 if (nameOffset != 0) _result["nameOffset"] = nameOffset; |
| 9726 if (parameters.isNotEmpty) _result["parameters"] = parameters.map((_value) =
> _value.toJson()).toList(); | 9809 if (parameters.isNotEmpty) _result["parameters"] = parameters.map((_value) =
> _value.toJson()).toList(); |
| 9727 if (returnType != null) _result["returnType"] = returnType.toJson(); | 9810 if (returnType != null) _result["returnType"] = returnType.toJson(); |
| 9811 if (style != idl.TypedefStyle.functionType) _result["style"] = style.toStrin
g().split('.')[1]; |
| 9728 if (typeParameters.isNotEmpty) _result["typeParameters"] = typeParameters.ma
p((_value) => _value.toJson()).toList(); | 9812 if (typeParameters.isNotEmpty) _result["typeParameters"] = typeParameters.ma
p((_value) => _value.toJson()).toList(); |
| 9729 return _result; | 9813 return _result; |
| 9730 } | 9814 } |
| 9731 | 9815 |
| 9732 @override | 9816 @override |
| 9733 Map<String, Object> toMap() => { | 9817 Map<String, Object> toMap() => { |
| 9734 "annotations": annotations, | 9818 "annotations": annotations, |
| 9735 "codeRange": codeRange, | 9819 "codeRange": codeRange, |
| 9736 "documentationComment": documentationComment, | 9820 "documentationComment": documentationComment, |
| 9737 "name": name, | 9821 "name": name, |
| 9738 "nameOffset": nameOffset, | 9822 "nameOffset": nameOffset, |
| 9739 "parameters": parameters, | 9823 "parameters": parameters, |
| 9740 "returnType": returnType, | 9824 "returnType": returnType, |
| 9825 "style": style, |
| 9741 "typeParameters": typeParameters, | 9826 "typeParameters": typeParameters, |
| 9742 }; | 9827 }; |
| 9743 | 9828 |
| 9744 @override | 9829 @override |
| 9745 String toString() => convert.JSON.encode(toJson()); | 9830 String toString() => convert.JSON.encode(toJson()); |
| 9746 } | 9831 } |
| 9747 | 9832 |
| 9748 class UnlinkedTypeParamBuilder extends Object with _UnlinkedTypeParamMixin imple
ments idl.UnlinkedTypeParam { | 9833 class UnlinkedTypeParamBuilder extends Object with _UnlinkedTypeParamMixin imple
ments idl.UnlinkedTypeParam { |
| 9749 List<UnlinkedExprBuilder> _annotations; | 9834 List<UnlinkedExprBuilder> _annotations; |
| 9750 EntityRefBuilder _bound; | 9835 EntityRefBuilder _bound; |
| (...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11137 "propagatedTypeSlot": propagatedTypeSlot, | 11222 "propagatedTypeSlot": propagatedTypeSlot, |
| 11138 "type": type, | 11223 "type": type, |
| 11139 "visibleLength": visibleLength, | 11224 "visibleLength": visibleLength, |
| 11140 "visibleOffset": visibleOffset, | 11225 "visibleOffset": visibleOffset, |
| 11141 }; | 11226 }; |
| 11142 | 11227 |
| 11143 @override | 11228 @override |
| 11144 String toString() => convert.JSON.encode(toJson()); | 11229 String toString() => convert.JSON.encode(toJson()); |
| 11145 } | 11230 } |
| 11146 | 11231 |
| OLD | NEW |