/developtools/ace_ets2bundle/compiler/src/ |
D | process_struct_componentV2.ts | 175 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(member); constant 177 return processParamProperty(member, decorators); 180 return processBuilderParamProperty(member, log, decorators); 183 ts.concatenateDecoratorsAndModifiers(decorators, ts.getModifiers(member)), 188 decorators: readonly ts.Decorator[]): ts.PropertyDeclaration { 189 …const newDecorators: readonly ts.Decorator[] = removeDecorator(decorators, constantDefine.REQUIRE); 195 function removeDecorator(decorators: readonly ts.Decorator[], decoratorName: string): readonly ts.D… 196 return decorators.filter((item: ts.Node) => { 206 decorators: readonly ts.Decorator[]): ts.PropertyDeclaration { 214 …const newDecorators: readonly ts.Decorator[] = removeDecorator(decorators, constantDefine.BUILDER_… [all …]
|
D | validate_ui_syntax.ts | 216 const decorators = ts.getAllDecorators(item); constant 217 for (let i = 0; i < decorators.length; i++) { 218 if (decorators[i] && /struct/.test(decorators[i].getText())) { 243 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 244 if (decorators && decorators.length) { 245 checkDecorators(decorators, result, item.name, log, sourceFile, item); 310 function checkDecorators(decorators: readonly ts.Decorator[], result: DecoratorResult, 315 decorators.forEach((element) => { 391 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 394 addLog(LogType.ERROR, message, decorators![0].pos, log, sourceFile); [all …]
|
D | process_component_member.ts | 272 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 273 if (isRegularProperty(decorators)) { 290 } else if (validateCustomDecorator(decorators, log)) { 296 if (decorators && decorators.length && validatePropDecorator(decorators)) { 342 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 344 for (let i = 0; i < decorators.length; i++) { 345 const decoratorName: string = decorators[i].getText().replace(/\(.*\)$/, '').trim(); 352 validateDuplicateDecorator(decorators[i], log); 378 validateWatchDecorator(name, decorators, log)) { 379 processWatch(node, decorators[i], watchMap, log); [all …]
|
D | process_component_class.ts | 160 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 161 if (node && decorators) { 162 for (let i = 0; i < decorators.length; i++) { 163 const name: string = decorators[i].getText().replace(/\([^\(\)]*\)/, '').trim(); 377 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 378 if (decorators && decorators.length) { 379 decorators.map((decorator: ts.Decorator) => { 423 export function isRegularProperty(decorators: readonly ts.Decorator[]): boolean { 424 if (decorators && decorators.length) { 425 if (decorators.length === 1 && decorators[0].getText() === COMPONENT_REQUIRE_DECORATOR) { [all …]
|
D | process_import.ts | 362 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 363 if (process.env.watchMode === 'true' && node && decorators) { 375 for (let i = 0; i < decorators.length; i++) { 376 if (decorators[i].getText() === COMPONENT_DECORATOR_ENTRY) { 568 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 569 if (decorators && decorators.length) { 570 for (let i = 0; i < decorators.length; ++i) { 571 const decoratorName: ts.Expression = decorators[i].expression; 913 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 914 return decorators.some((item: ts.Decorator) => {
|
D | utils.ts | 191 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 192 if (decorators && decorators.length) { 197 for (let i = 0; i < decorators.length; i++) { 198 …const originalDecortor: string = decorators[i].getText().replace(/\(.*\)$/, '').replace(/\s*/g, ''… 209 customBuilder.push(...decorators.slice(i + 1), ...decorators.slice(0, i));
|
D | ets_checker.ts | 1116 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 1117 if (decorators && decorators.length) { 1118 for (let i = 0; i < decorators.length; i++) { 1119 const originalDecortor: string = decorators[i].getText().replace(/\(.*\)$/, '').trim(); 1147 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 1148 if (decorators && decorators.length) { 1149 for (let i = 0; i < decorators.length; i++) { 1150 const decoratorName: string = decorators[i].getText().replace(/\(.*\)$/, '').trim();
|
D | process_ui_syntax.ts | 224 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 225 if (node && decorators && decorators.length) { 226 decorators.forEach(item => { 1158 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 1159 if (decorators && decorators.length) { 1160 for (let i = 0, len = decorators.length; i < len; i++) { 1161 if (ts.isCallExpression(decorators[i].expression)) { 1162 … parseExtendNode(decorators[i].expression as ts.CallExpression, extendResult, checkArguments);
|
/developtools/smartperf_host/ide/ |
D | tsconfig.json | 63 // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 64 …adata": true, /* Enables experimental support for emitting type metadata for decorators. */
|