Home
last modified time | relevance | path

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

/third_party/jsframework/mock-generate/src/generate/
DgenerateModuleDeclaration.ts46 let moduleBody = `export function mock${firstCharacterToUppercase(mockName)}() {\n`;
62 moduleBody += `global.systemplugin.${mockName} = {`;
68 moduleBody += staticMethodBody;
70 moduleBody += '}';
95moduleBody += '\t' + generateClassDeclaration(moduleName, value, false, '', '', sourceFile, true) …
105moduleBody += '\t' + generateInterfaceDeclaration(moduleName, value, sourceFile, false, moduleEnti…
115 moduleBody += '\t' + generateEnumDeclaration(moduleName, value) + '\n';
122 moduleBody += generateInnerModule(value, sourceFile) + '\n';
133 moduleBody += '\t' + `const ${moduleName} = {`;
137 moduleBody += generateVariableStatementDelcatation(val) + '\n';
[all …]
/third_party/typescript/tests/baselines/reference/
DinvalidModuleWithStatementsOfEveryKind.errors.txt1 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(4,5): …
2 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(6,5): …
3 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(12,5):…
4 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(13,5):…
5 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(15,5):…
6 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(19,5):…
7 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(25,5):…
8 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(29,5):…
9 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(31,5):…
10 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts(37,5):…
[all …]
DinvalidModuleWithVarStatements.errors.txt1 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(4,5): error TS…
2 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(8,5): error TS…
3 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(12,5): error T…
4 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(16,5): error T…
5 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(20,5): error T…
6 tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts(25,5): error T…
9 ==== tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts (6 errors…
DinvalidModuleWithVarStatements.types1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts ===
DinvalidModuleWithVarStatements.symbols1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts ===
DinvalidModuleWithStatementsOfEveryKind.types1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts ===
DmoduleWithStatementsOfEveryKind.types1 === tests/cases/conformance/internalModules/moduleBody/moduleWithStatementsOfEveryKind.ts ===
DmoduleWithStatementsOfEveryKind.symbols1 === tests/cases/conformance/internalModules/moduleBody/moduleWithStatementsOfEveryKind.ts ===
DinvalidModuleWithStatementsOfEveryKind.symbols1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts ===
/third_party/jsframework/mock-generate/src/declaration-node/
DmoduleDeclaration.ts61 const moduleBody = moduleNode.body; constant
63 if (moduleBody !== undefined && isModuleBlock(moduleBody)) {
64 moduleBody.statements.forEach(value => {
/third_party/jsframework/mock-generate/src/common/
DcommonUtils.ts86 const moduleBody = moduleDeclaration.body; constant
87 if (moduleBody !== undefined && isModuleBlock(moduleBody)) {
88 moduleBody.statements.forEach(value => {