Home
last modified time | relevance | path

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

/developtools/ace_ets2bundle/compiler/src/
Dvalidate_ui_syntax.ts497 const isCheckType: ParamType = { name: null, value: null}; constant
498 if (hasChild(node, isCheckType)) {
501 const message: string = isCheckType.name === null ?
503 `When the component '${componentName}' set '${isCheckType.name}' is '${isCheckType.value}'` +
509 function hasChild(node: ts.EtsComponentExpression, isCheckType: ParamType): boolean {
511 …MPONENT.has(nodeName.escapedText.toString()) || judgeComponentType(nodeName, node, isCheckType)) &&
519 isCheckType: ParamType): boolean {
524 judgeToggleComponentParamType(etsComponentExpression.arguments[0].getText(), isCheckType);
527 function judgeToggleComponentParamType(param: string, isCheckType: ParamType): boolean {
529 isCheckType.name = RESOURCE_NAME_TYPE;
[all …]