Home
last modified time | relevance | path

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

/ide/tools/previewer/automock/mock-generate/src/generate/
DgenerateClassDeclaration.ts42 const className = firstCharacterToUppercase(classEntity.className); constant
47 classBody += `export const ${className} = class ${className} `;
49 classBody += `const ${className} = class ${className} `;
89 classBody += getWarnConsole(className, 'constructor');
93 classBody += generatePropertyDeclaration(className, value, sourceFile) + '\n';
99 classBody += generateCommonMethod(className, value, sourceFile, mockApi);
108 if (!global.${className}) {
109 global.${className} = ${className};\n
123 classBody += `\nexport default ${className};`;
DgenerateStaticFunction.ts31 const rootName = staticMethod.className;
36 …methodBody += `${firstCharacterToUppercase(staticMethod.className)}.${methodEntity.functionName.na…
DgenerateMockJsFile.ts66 mockFunctionElements.push({ elementName: value.className, type: 'class' });
106 mockFunctionElements.push({ elementName: value.className, type: 'class' });
DgenerateModuleDeclaration.ts387 exportElements.push({ name: firstCharacterToUppercase(value.className), type: 'class' });
/ide/tools/previewer/automock/mock-generate/src/declaration-node/
DclassDeclaration.ts44 const className = classNode.name === undefined ? '' : classNode.name.escapedText.toString(); constant
62 staticMethods.push({ className: className, methodEntity: methodEntity });
80 console.log('className: ' + className);
87 className: className,
99 className: string, property
DmethodDeclaration.ts65 className: string, property
/ide/tools/previewer/cli/
DCommandLine.cpp643 std::string className = args["className"].asString(); in RunSet() local
648 JsAppImpl::GetInstance().LoadDocument(pageUrl, className, previewParam); in RunSet()