13af6ab5fSopenharmony_ci{ 23af6ab5fSopenharmony_ci "copyright": [ 33af6ab5fSopenharmony_ci "Copyright (c) 2024 Huawei Device Co., Ltd.", 43af6ab5fSopenharmony_ci "Licensed under the Apache License, Version 2.0 (the 'License');", 53af6ab5fSopenharmony_ci "you may not use this file except in compliance with the License.", 63af6ab5fSopenharmony_ci "You may obtain a copy of the License at", 73af6ab5fSopenharmony_ci "", 83af6ab5fSopenharmony_ci "http://www.apache.org/licenses/LICENSE-2.0", 93af6ab5fSopenharmony_ci "", 103af6ab5fSopenharmony_ci "Unless required by applicable law or agreed to in writing, software", 113af6ab5fSopenharmony_ci "distributed under the License is distributed on an 'AS IS' BASIS,", 123af6ab5fSopenharmony_ci "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 133af6ab5fSopenharmony_ci "See the License for the specific language governing permissions and", 143af6ab5fSopenharmony_ci "limitations under the License." 153af6ab5fSopenharmony_ci ], 163af6ab5fSopenharmony_ci "nodes": [ 173af6ab5fSopenharmony_ci { 183af6ab5fSopenharmony_ci "line": 32, 193af6ab5fSopenharmony_ci "column": 1, 203af6ab5fSopenharmony_ci "problem": "SendableFunctionDecorator", 213af6ab5fSopenharmony_ci "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 223af6ab5fSopenharmony_ci }, 233af6ab5fSopenharmony_ci { 243af6ab5fSopenharmony_ci "line": 47, 253af6ab5fSopenharmony_ci "column": 1, 263af6ab5fSopenharmony_ci "problem": "SendableFunctionOverloadDecorator", 273af6ab5fSopenharmony_ci "rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on each function (arkts-sendable-function-overload-decorator)" 283af6ab5fSopenharmony_ci }, 293af6ab5fSopenharmony_ci { 303af6ab5fSopenharmony_ci "line": 55, 313af6ab5fSopenharmony_ci "column": 1, 323af6ab5fSopenharmony_ci "problem": "SendableFunctionDecorator", 333af6ab5fSopenharmony_ci "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 343af6ab5fSopenharmony_ci }, 353af6ab5fSopenharmony_ci { 363af6ab5fSopenharmony_ci "line": 71, 373af6ab5fSopenharmony_ci "column": 1, 383af6ab5fSopenharmony_ci "problem": "SendableTypeAliasDecorator", 393af6ab5fSopenharmony_ci "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeAlias-decorator)" 403af6ab5fSopenharmony_ci }, 413af6ab5fSopenharmony_ci { 423af6ab5fSopenharmony_ci "line": 74, 433af6ab5fSopenharmony_ci "column": 13, 443af6ab5fSopenharmony_ci "problem": "SendableTypeAliasDeclaration", 453af6ab5fSopenharmony_ci "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 463af6ab5fSopenharmony_ci }, 473af6ab5fSopenharmony_ci { 483af6ab5fSopenharmony_ci "line": 76, 493af6ab5fSopenharmony_ci "column": 13, 503af6ab5fSopenharmony_ci "problem": "SendableTypeAliasDeclaration", 513af6ab5fSopenharmony_ci "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 523af6ab5fSopenharmony_ci }, 533af6ab5fSopenharmony_ci { 543af6ab5fSopenharmony_ci "line": 80, 553af6ab5fSopenharmony_ci "column": 13, 563af6ab5fSopenharmony_ci "problem": "SendableTypeAliasDeclaration", 573af6ab5fSopenharmony_ci "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 583af6ab5fSopenharmony_ci }, 593af6ab5fSopenharmony_ci { 603af6ab5fSopenharmony_ci "line": 93, 613af6ab5fSopenharmony_ci "column": 20, 623af6ab5fSopenharmony_ci "problem": "SendableCapturedVars", 633af6ab5fSopenharmony_ci "suggest": "", 643af6ab5fSopenharmony_ci "rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)" 653af6ab5fSopenharmony_ci }, 663af6ab5fSopenharmony_ci { 673af6ab5fSopenharmony_ci "line": 95, 683af6ab5fSopenharmony_ci "column": 23, 693af6ab5fSopenharmony_ci "problem": "SendableCapturedVars", 703af6ab5fSopenharmony_ci "suggest": "", 713af6ab5fSopenharmony_ci "rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)" 723af6ab5fSopenharmony_ci }, 733af6ab5fSopenharmony_ci { 743af6ab5fSopenharmony_ci "line": 103, 753af6ab5fSopenharmony_ci "column": 3, 763af6ab5fSopenharmony_ci "problem": "SendableClassDecorator", 773af6ab5fSopenharmony_ci "suggest": "", 783af6ab5fSopenharmony_ci "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-decorator)" 793af6ab5fSopenharmony_ci }, 803af6ab5fSopenharmony_ci { 813af6ab5fSopenharmony_ci "line": 108, 823af6ab5fSopenharmony_ci "column": 1, 833af6ab5fSopenharmony_ci "problem": "SendableFunctionDecorator", 843af6ab5fSopenharmony_ci "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 853af6ab5fSopenharmony_ci }, 863af6ab5fSopenharmony_ci { 873af6ab5fSopenharmony_ci "line": 111, 883af6ab5fSopenharmony_ci "column": 18, 893af6ab5fSopenharmony_ci "problem": "SendableFunctionImportedVariables", 903af6ab5fSopenharmony_ci "rule": "Only imported variables can be captured by \"Sendable\" function (arkts-sendable-function-imported-variables)" 913af6ab5fSopenharmony_ci }, 923af6ab5fSopenharmony_ci { 933af6ab5fSopenharmony_ci "line": 113, 943af6ab5fSopenharmony_ci "column": 21, 953af6ab5fSopenharmony_ci "problem": "SendableFunctionImportedVariables", 963af6ab5fSopenharmony_ci "rule": "Only imported variables can be captured by \"Sendable\" function (arkts-sendable-function-imported-variables)" 973af6ab5fSopenharmony_ci }, 983af6ab5fSopenharmony_ci { 993af6ab5fSopenharmony_ci "line": 136, 1003af6ab5fSopenharmony_ci "column": 3, 1013af6ab5fSopenharmony_ci "problem": "SendablePropType", 1023af6ab5fSopenharmony_ci "suggest": "", 1033af6ab5fSopenharmony_ci "rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" 1043af6ab5fSopenharmony_ci }, 1053af6ab5fSopenharmony_ci { 1063af6ab5fSopenharmony_ci "line": 140, 1073af6ab5fSopenharmony_ci "column": 9, 1083af6ab5fSopenharmony_ci "problem": "SendableGenericTypes", 1093af6ab5fSopenharmony_ci "suggest": "", 1103af6ab5fSopenharmony_ci "rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-sendable-generic-types)" 1113af6ab5fSopenharmony_ci }, 1123af6ab5fSopenharmony_ci { 1133af6ab5fSopenharmony_ci "line": 143, 1143af6ab5fSopenharmony_ci "column": 1, 1153af6ab5fSopenharmony_ci "problem": "SendableFunctionProperty", 1163af6ab5fSopenharmony_ci "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 1173af6ab5fSopenharmony_ci }, 1183af6ab5fSopenharmony_ci { 1193af6ab5fSopenharmony_ci "line": 145, 1203af6ab5fSopenharmony_ci "column": 1, 1213af6ab5fSopenharmony_ci "problem": "SendableFunctionProperty", 1223af6ab5fSopenharmony_ci "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 1233af6ab5fSopenharmony_ci }, 1243af6ab5fSopenharmony_ci { 1253af6ab5fSopenharmony_ci "line": 146, 1263af6ab5fSopenharmony_ci "column": 1, 1273af6ab5fSopenharmony_ci "problem": "SendableFunctionProperty", 1283af6ab5fSopenharmony_ci "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 1293af6ab5fSopenharmony_ci }, 1303af6ab5fSopenharmony_ci { 1313af6ab5fSopenharmony_ci "line": 185, 1323af6ab5fSopenharmony_ci "column": 7, 1333af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1343af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1353af6ab5fSopenharmony_ci }, 1363af6ab5fSopenharmony_ci { 1373af6ab5fSopenharmony_ci "line": 186, 1383af6ab5fSopenharmony_ci "column": 7, 1393af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1403af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1413af6ab5fSopenharmony_ci }, 1423af6ab5fSopenharmony_ci { 1433af6ab5fSopenharmony_ci "line": 189, 1443af6ab5fSopenharmony_ci "column": 7, 1453af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1463af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1473af6ab5fSopenharmony_ci }, 1483af6ab5fSopenharmony_ci { 1493af6ab5fSopenharmony_ci "line": 192, 1503af6ab5fSopenharmony_ci "column": 7, 1513af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1523af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1533af6ab5fSopenharmony_ci }, 1543af6ab5fSopenharmony_ci { 1553af6ab5fSopenharmony_ci "line": 195, 1563af6ab5fSopenharmony_ci "column": 7, 1573af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1583af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1593af6ab5fSopenharmony_ci }, 1603af6ab5fSopenharmony_ci { 1613af6ab5fSopenharmony_ci "line": 199, 1623af6ab5fSopenharmony_ci "column": 7, 1633af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1643af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1653af6ab5fSopenharmony_ci }, 1663af6ab5fSopenharmony_ci { 1673af6ab5fSopenharmony_ci "line": 200, 1683af6ab5fSopenharmony_ci "column": 7, 1693af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1703af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1713af6ab5fSopenharmony_ci }, 1723af6ab5fSopenharmony_ci { 1733af6ab5fSopenharmony_ci "line": 202, 1743af6ab5fSopenharmony_ci "column": 7, 1753af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1763af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1773af6ab5fSopenharmony_ci }, 1783af6ab5fSopenharmony_ci { 1793af6ab5fSopenharmony_ci "line": 203, 1803af6ab5fSopenharmony_ci "column": 7, 1813af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1823af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1833af6ab5fSopenharmony_ci }, 1843af6ab5fSopenharmony_ci { 1853af6ab5fSopenharmony_ci "line": 208, 1863af6ab5fSopenharmony_ci "column": 7, 1873af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1883af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1893af6ab5fSopenharmony_ci }, 1903af6ab5fSopenharmony_ci { 1913af6ab5fSopenharmony_ci "line": 209, 1923af6ab5fSopenharmony_ci "column": 7, 1933af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 1943af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 1953af6ab5fSopenharmony_ci }, 1963af6ab5fSopenharmony_ci { 1973af6ab5fSopenharmony_ci "line": 212, 1983af6ab5fSopenharmony_ci "column": 7, 1993af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2003af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2013af6ab5fSopenharmony_ci }, 2023af6ab5fSopenharmony_ci { 2033af6ab5fSopenharmony_ci "line": 215, 2043af6ab5fSopenharmony_ci "column": 7, 2053af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2063af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2073af6ab5fSopenharmony_ci }, 2083af6ab5fSopenharmony_ci { 2093af6ab5fSopenharmony_ci "line": 216, 2103af6ab5fSopenharmony_ci "column": 7, 2113af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2123af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2133af6ab5fSopenharmony_ci }, 2143af6ab5fSopenharmony_ci { 2153af6ab5fSopenharmony_ci "line": 217, 2163af6ab5fSopenharmony_ci "column": 7, 2173af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2183af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2193af6ab5fSopenharmony_ci }, 2203af6ab5fSopenharmony_ci { 2213af6ab5fSopenharmony_ci "line": 221, 2223af6ab5fSopenharmony_ci "column": 7, 2233af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2243af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2253af6ab5fSopenharmony_ci }, 2263af6ab5fSopenharmony_ci { 2273af6ab5fSopenharmony_ci "line": 223, 2283af6ab5fSopenharmony_ci "column": 7, 2293af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2303af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2313af6ab5fSopenharmony_ci }, 2323af6ab5fSopenharmony_ci { 2333af6ab5fSopenharmony_ci "line": 224, 2343af6ab5fSopenharmony_ci "column": 7, 2353af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2363af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2373af6ab5fSopenharmony_ci }, 2383af6ab5fSopenharmony_ci { 2393af6ab5fSopenharmony_ci "line": 227, 2403af6ab5fSopenharmony_ci "column": 7, 2413af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2423af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2433af6ab5fSopenharmony_ci }, 2443af6ab5fSopenharmony_ci { 2453af6ab5fSopenharmony_ci "line": 229, 2463af6ab5fSopenharmony_ci "column": 7, 2473af6ab5fSopenharmony_ci "problem": "SendableFunctionAssignment", 2483af6ab5fSopenharmony_ci "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 2493af6ab5fSopenharmony_ci } 2503af6ab5fSopenharmony_ci ] 2513af6ab5fSopenharmony_ci}