Home
last modified time | relevance | path

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

/developtools/ace_ets2bundle/compiler/src/
Dprocess_component_member.ts266 if (!item.decorators || !item.decorators.length) {
280 } else if (validateCustomDecorator(item.decorators, log)) {
286 if (item.decorators && item.decorators.length && validatePropDecorator(item.decorators)) {
333 for (let i = 0; i < node.decorators.length; i++) {
334 const decoratorName: string = node.decorators[i].getText().replace(/\(.*\)$/, '').trim();
339 validateDuplicateDecorator(node.decorators[i], log);
365 validateWatchDecorator(name, node.decorators.length, log)) {
366 processWatch(node, node.decorators[i], watchMap, log);
650 node.decorators[0].expression.arguments[0],
678 const keyNameNode: ts.Node = node.decorators[0].expression.arguments[0];
[all …]
Dvalidate_ui_syntax.ts205 if (item.decorators && item.decorators.length) {
206 checkDecorators(item.decorators, result, item.name, log, sourceFile, item);
217 const decorators: ts.NodeArray<ts.Decorator> = item.decorators; constant
218 for (let i = 0; i < decorators.length; i++) {
219 if (decorators[i] && /struct/.test(decorators[i].getText())) {
295 function checkDecorators(decorators: ts.NodeArray<ts.Decorator>, result: DecoratorResult,
299 decorators.forEach((element) => {
356 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
360 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
368 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
[all …]
Dprocess_component_constructor.ts76 ctorNode = ts.factory.updateConstructorDeclaration(ctorNode, ctorNode.decorators,
126 parameter = ts.factory.updateParameterDeclaration(item, item.decorators, item.modifiers,
131 parameter = ts.factory.createParameterDeclaration(item.decorators, item.modifiers,
138 parameter = ts.factory.updateParameterDeclaration(item, item.decorators, item.modifiers,
144 …parameter = ts.factory.createParameterDeclaration(item.decorators, item.modifiers, item.dotDotDotT…
Dprocess_component_class.ts149 if (node && node.decorators) {
150 for (let i = 0; i < node.decorators.length; i++) {
151 const name: string = node.decorators[i].getText().replace(/\([^\(\)]*\)/, '').trim();
272 if (item.decorators && item.decorators.length) {
273 item.decorators.map((decorator: ts.Decorator) => {
323 if (!propertyItem.decorators || propertyItem.decorators.length === 0) {
326 } else if (propertyItem.decorators) {
327 for (let i = 0; i < propertyItem.decorators.length; i++) {
329 decoratorName = propertyItem.decorators[i].getText().replace(/\(.*\)$/, '').trim();
427 updateItem = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
[all …]
Dutils.ts182 if (node.decorators && node.decorators.length) {
187 for (let i = 0; i < node.decorators.length; i++) {
188 const originalDecortor: string = node.decorators[i].getText().replace(/\(.*\)$/, '').trim();
199 customBuilder.push(...node.decorators.slice(i + 1), ...node.decorators.slice(0, i));
Dprocess_import.ts347 if (process.env.watchMode === 'true' && node && node.decorators) {
358 for (let i = 0; i < node.decorators.length; i++) {
359 if (node.decorators[i].getText() === COMPONENT_DECORATOR_ENTRY) {
556 if (node.decorators && node.decorators.length) {
557 for (let i = 0; i < node.decorators.length; ++i) {
558 const decoratorName: ts.Identifier = node.decorators[i].expression as ts.Identifier;
Dprocess_ui_syntax.ts203 if (node && node.decorators && node.decorators.length) {
204 node.decorators.forEach(item => {
828 if (node.decorators && node.decorators.length) {
829 for (let i = 0, len = node.decorators.length; i < len; i++) {
830 if (ts.isCallExpression(node.decorators[i].expression)) {
831 … parseExtendNode(node.decorators[i].expression as ts.CallExpression, extendResult, checkArguments);
Dets_checker.ts756 if (item.decorators && item.decorators.length) {
757 for (let i = 0; i < item.decorators.length; i++) {
758 … const decoratorName: string = item.decorators[i].getText().replace(/\(.*\)$/, '').trim();
762 if (isDecoratorCollection(item.decorators[i], decoratorName)) {
763 decoratorParamsCollection.add(item.decorators[i].expression.arguments[0].getText());
Dprocess_component_build.ts182 newNode = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
186 newNode = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
/developtools/ace_ets2bundle/compiler/
Dbuild_declarations_file.js154 node = ts.factory.updateInterfaceDeclaration(node, node.decorators, node.modifiers,
158 node = ts.factory.updateInterfaceDeclaration(node, node.decorators, node.modifiers, node.name,
165 node = ts.factory.updateClassDeclaration(node, node.decorators, node.modifiers, node.name,
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_source_file.ts197 return ts.factory.createImportDeclaration(node.decorators, node.modifiers,
200 return ts.factory.createExportDeclaration(node.decorators, node.modifiers,
/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. */
/developtools/profiler/host/smartperf/ide/
Dtsconfig.json63 // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
64 …adata": true, /* Enables experimental support for emitting type metadata for decorators. */