Searched refs:decorators (Results 1 – 8 of 8) sorted by relevance
| /developtools/ace_ets2bundle/compiler/src/ |
| D | process_component_member.ts | 270 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 271 if (!decorators || !decorators.length) { 288 } else if (validateCustomDecorator(decorators, log)) { 294 if (decorators && decorators.length && validatePropDecorator(decorators)) { 340 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 342 for (let i = 0; i < decorators.length; i++) { 343 const decoratorName: string = decorators[i].getText().replace(/\(.*\)$/, '').trim(); 348 validateDuplicateDecorator(decorators[i], log); 374 validateWatchDecorator(name, decorators.length, log)) { 375 processWatch(node, decorators[i], watchMap, log); [all …]
|
| D | validate_ui_syntax.ts | 201 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 202 if (decorators && decorators.length) { 203 checkDecorators(decorators, result, item.name, log, sourceFile, item); 214 const decorators = ts.getAllDecorators(item); constant 215 for (let i = 0; i < decorators.length; i++) { 216 if (decorators[i] && /struct/.test(decorators[i].getText())) { 292 function checkDecorators(decorators: readonly ts.Decorator[], result: DecoratorResult, 296 decorators.forEach((element) => { 351 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 354 addLog(LogType.ERROR, message, decorators![0].pos, log, sourceFile); [all …]
|
| D | process_component_class.ts | 154 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 155 if (node && decorators) { 156 for (let i = 0; i < decorators.length; i++) { 157 const name: string = decorators[i].getText().replace(/\([^\(\)]*\)/, '').trim(); 371 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 372 if (decorators && decorators.length) { 373 decorators.map((decorator: ts.Decorator) => { 423 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(propertyItem); constant 424 if (!decorators || decorators.length === 0) { 428 for (let i = 0; i < decorators.length; i++) { [all …]
|
| D | process_import.ts | 351 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 352 if (process.env.watchMode === 'true' && node && decorators) { 364 for (let i = 0; i < decorators.length; i++) { 365 if (decorators[i].getText() === COMPONENT_DECORATOR_ENTRY) { 543 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 544 if (decorators && decorators.length) { 545 for (let i = 0; i < decorators.length; ++i) { 546 const decoratorName: ts.Expression = decorators[i].expression;
|
| D | utils.ts | 186 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 187 if (decorators && decorators.length) { 192 for (let i = 0; i < decorators.length; i++) { 193 const originalDecortor: string = decorators[i].getText().replace(/\(.*\)$/, '').trim(); 204 customBuilder.push(...decorators.slice(i + 1), ...decorators.slice(0, i));
|
| D | process_ui_syntax.ts | 204 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 205 if (node && decorators && decorators.length) { 206 decorators.forEach(item => { 1034 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(node); constant 1035 if (decorators && decorators.length) { 1036 for (let i = 0, len = decorators.length; i < len; i++) { 1037 if (ts.isCallExpression(decorators[i].expression)) { 1038 … parseExtendNode(decorators[i].expression as ts.CallExpression, extendResult, checkArguments);
|
| D | ets_checker.ts | 1042 const decorators: readonly ts.Decorator[] = ts.getAllDecorators(item); constant 1043 if (decorators && decorators.length) { 1044 for (let i = 0; i < decorators.length; i++) { 1045 const decoratorName: string = decorators[i].getText().replace(/\(.*\)$/, '').trim(); 1049 if (isDecoratorCollection(decorators[i], decoratorName)) { 1050 decoratorParamsCollection.add(decorators[i].expression.arguments[0].getText());
|
| /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. */
|