Home
last modified time | relevance | path

Searched refs:decoratorName (Results 1 – 5 of 5) sorted by relevance

/developtools/ace-ets2bundle/compiler/src/
Dprocess_component_member.ts252 const decoratorName: string = node.decorators[i].getText().replace(/\(.*\)$/, '').trim(); constant
253 if (decoratorName !== COMPONENT_WATCH_DECORATOR) {
254 curPropMap.set(name.escapedText.toString(), decoratorName);
256 if (BUILDIN_STYLE_NAMES.has(decoratorName.replace('@', ''))) {
259 if (decoratorName !== COMPONENT_WATCH_DECORATOR && isForbiddenUseStateType(node.type)) {
261 validateForbiddenUseStateType(name, decoratorName, node.type.typeName.getText(), log);
265 mandatoryToInitViaParamDecorators.has(decoratorName)) {
266 validateHasIllegalDecoratorInEntry(parentName, name, decoratorName, log);
268 if (node.initializer && forbiddenSpecifyDefaultValueDecorators.has(decoratorName)) {
269 validatePropertyDefaultValue(name, decoratorName, log);
[all …]
Dets_checker.ts291 … const decoratorName: string = item.decorators[i].getText().replace(/\(.*\)$/, '').trim(); constant
292 if (INNER_COMPONENT_MEMBER_DECORATORS.has(decoratorName)) {
295 if (isDecoratorCollection(item.decorators[i], decoratorName)) {
397 function isDecoratorCollection(item: ts.Decorator, decoratorName: string): boolean {
398 return COMPONENT_DECORATORS_PARAMS.has(decoratorName) &&
Dprocess_import.ts342 const decoratorName: ts.Identifier = node.decorators[i].expression as ts.Identifier; constant
343 if (ts.isIdentifier(decoratorName) &&
344 CUSTOM_DECORATOR_NAME.has(decoratorName.escapedText.toString())) {
Dprocess_component_class.ts184 let decoratorName: string;
193 decoratorName = propertyItem.decorators[i].getText().replace(/\(.*\)$/, '').trim();
195 switch (decoratorName) {
Dvalidate_ui_syntax.ts694 … const decoratorName: string = item.decorators[i].getText().replace(/\(.*\)$/, '').trim(); constant
695 if (INNER_COMPONENT_MEMBER_DECORATORS.has(decoratorName)) {
697 …collectionStates(item.decorators[i], decoratorName, propertyName, states, links, props, storagePro…