1{ 2 "copyright": [ 3 "Copyright (c) 2024 Huawei Device Co., Ltd.", 4 "Licensed under the Apache License, Version 2.0 (the 'License');", 5 "you may not use this file except in compliance with the License.", 6 "You may obtain a copy of the License at", 7 "", 8 "http://www.apache.org/licenses/LICENSE-2.0", 9 "", 10 "Unless required by applicable law or agreed to in writing, software", 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 12 "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 13 "See the License for the specific language governing permissions and", 14 "limitations under the License." 15 ], 16 "nodes": [ 17 { 18 "line": 32, 19 "column": 1, 20 "problem": "SendableFunctionDecorator", 21 "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 22 }, 23 { 24 "line": 47, 25 "column": 1, 26 "problem": "SendableFunctionOverloadDecorator", 27 "rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on each function (arkts-sendable-function-overload-decorator)" 28 }, 29 { 30 "line": 55, 31 "column": 1, 32 "problem": "SendableFunctionDecorator", 33 "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 34 }, 35 { 36 "line": 71, 37 "column": 1, 38 "problem": "SendableTypeAliasDecorator", 39 "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeAlias-decorator)" 40 }, 41 { 42 "line": 74, 43 "column": 13, 44 "problem": "SendableTypeAliasDeclaration", 45 "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 46 }, 47 { 48 "line": 76, 49 "column": 13, 50 "problem": "SendableTypeAliasDeclaration", 51 "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 52 }, 53 { 54 "line": 80, 55 "column": 13, 56 "problem": "SendableTypeAliasDeclaration", 57 "rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)" 58 }, 59 { 60 "line": 93, 61 "column": 20, 62 "problem": "SendableCapturedVars", 63 "suggest": "", 64 "rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)" 65 }, 66 { 67 "line": 95, 68 "column": 23, 69 "problem": "SendableCapturedVars", 70 "suggest": "", 71 "rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)" 72 }, 73 { 74 "line": 103, 75 "column": 3, 76 "problem": "SendableClassDecorator", 77 "suggest": "", 78 "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-decorator)" 79 }, 80 { 81 "line": 108, 82 "column": 1, 83 "problem": "SendableFunctionDecorator", 84 "rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)" 85 }, 86 { 87 "line": 111, 88 "column": 18, 89 "problem": "SendableFunctionImportedVariables", 90 "rule": "Only imported variables can be captured by \"Sendable\" function (arkts-sendable-function-imported-variables)" 91 }, 92 { 93 "line": 113, 94 "column": 21, 95 "problem": "SendableFunctionImportedVariables", 96 "rule": "Only imported variables can be captured by \"Sendable\" function (arkts-sendable-function-imported-variables)" 97 }, 98 { 99 "line": 136, 100 "column": 3, 101 "problem": "SendablePropType", 102 "suggest": "", 103 "rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)" 104 }, 105 { 106 "line": 140, 107 "column": 9, 108 "problem": "SendableGenericTypes", 109 "suggest": "", 110 "rule": "Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-sendable-generic-types)" 111 }, 112 { 113 "line": 143, 114 "column": 1, 115 "problem": "SendableFunctionProperty", 116 "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 117 }, 118 { 119 "line": 145, 120 "column": 1, 121 "problem": "SendableFunctionProperty", 122 "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 123 }, 124 { 125 "line": 146, 126 "column": 1, 127 "problem": "SendableFunctionProperty", 128 "rule": "The property of \"Sendable\" function is limited (arkts-sendable-function-property)" 129 }, 130 { 131 "line": 185, 132 "column": 7, 133 "problem": "SendableFunctionAssignment", 134 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 135 }, 136 { 137 "line": 186, 138 "column": 7, 139 "problem": "SendableFunctionAssignment", 140 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 141 }, 142 { 143 "line": 189, 144 "column": 7, 145 "problem": "SendableFunctionAssignment", 146 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 147 }, 148 { 149 "line": 192, 150 "column": 7, 151 "problem": "SendableFunctionAssignment", 152 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 153 }, 154 { 155 "line": 195, 156 "column": 7, 157 "problem": "SendableFunctionAssignment", 158 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 159 }, 160 { 161 "line": 199, 162 "column": 7, 163 "problem": "SendableFunctionAssignment", 164 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 165 }, 166 { 167 "line": 200, 168 "column": 7, 169 "problem": "SendableFunctionAssignment", 170 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 171 }, 172 { 173 "line": 202, 174 "column": 7, 175 "problem": "SendableFunctionAssignment", 176 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 177 }, 178 { 179 "line": 203, 180 "column": 7, 181 "problem": "SendableFunctionAssignment", 182 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 183 }, 184 { 185 "line": 208, 186 "column": 7, 187 "problem": "SendableFunctionAssignment", 188 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 189 }, 190 { 191 "line": 209, 192 "column": 7, 193 "problem": "SendableFunctionAssignment", 194 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 195 }, 196 { 197 "line": 212, 198 "column": 7, 199 "problem": "SendableFunctionAssignment", 200 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 201 }, 202 { 203 "line": 215, 204 "column": 7, 205 "problem": "SendableFunctionAssignment", 206 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 207 }, 208 { 209 "line": 216, 210 "column": 7, 211 "problem": "SendableFunctionAssignment", 212 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 213 }, 214 { 215 "line": 217, 216 "column": 7, 217 "problem": "SendableFunctionAssignment", 218 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 219 }, 220 { 221 "line": 221, 222 "column": 7, 223 "problem": "SendableFunctionAssignment", 224 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 225 }, 226 { 227 "line": 223, 228 "column": 7, 229 "problem": "SendableFunctionAssignment", 230 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 231 }, 232 { 233 "line": 224, 234 "column": 7, 235 "problem": "SendableFunctionAssignment", 236 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 237 }, 238 { 239 "line": 227, 240 "column": 7, 241 "problem": "SendableFunctionAssignment", 242 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 243 }, 244 { 245 "line": 229, 246 "column": 7, 247 "problem": "SendableFunctionAssignment", 248 "rule": "Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)" 249 } 250 ] 251}