Home
last modified time | relevance | path

Searched refs:decorators (Results 1 – 8 of 8) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dprocess_component_member.ts270 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 …]
Dvalidate_ui_syntax.ts201 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 …]
Dprocess_component_class.ts154 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 …]
Dprocess_import.ts351 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;
Dutils.ts186 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));
Dprocess_ui_syntax.ts204 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);
Dets_checker.ts1042 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/
Dtsconfig.json63 // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
64 …adata": true, /* Enables experimental support for emitting type metadata for decorators. */