Searched refs:moduleBody (Results 1 – 11 of 11) sorted by relevance
/third_party/jsframework/mock-generate/src/generate/ |
D | generateModuleDeclaration.ts | 46 let moduleBody = `export function mock${firstCharacterToUppercase(mockName)}() {\n`; 62 moduleBody += `global.systemplugin.${mockName} = {`; 68 moduleBody += staticMethodBody; 70 moduleBody += '}'; 95 …moduleBody += '\t' + generateClassDeclaration(moduleName, value, false, '', '', sourceFile, true) … 105 …moduleBody += '\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/ |
D | invalidModuleWithStatementsOfEveryKind.errors.txt | 1 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 …]
|
D | invalidModuleWithVarStatements.errors.txt | 1 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…
|
D | invalidModuleWithVarStatements.types | 1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts ===
|
D | invalidModuleWithVarStatements.symbols | 1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts ===
|
D | invalidModuleWithStatementsOfEveryKind.types | 1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts ===
|
D | moduleWithStatementsOfEveryKind.types | 1 === tests/cases/conformance/internalModules/moduleBody/moduleWithStatementsOfEveryKind.ts ===
|
D | moduleWithStatementsOfEveryKind.symbols | 1 === tests/cases/conformance/internalModules/moduleBody/moduleWithStatementsOfEveryKind.ts ===
|
D | invalidModuleWithStatementsOfEveryKind.symbols | 1 === tests/cases/conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts ===
|
/third_party/jsframework/mock-generate/src/declaration-node/ |
D | moduleDeclaration.ts | 61 const moduleBody = moduleNode.body; constant 63 if (moduleBody !== undefined && isModuleBlock(moduleBody)) { 64 moduleBody.statements.forEach(value => {
|
/third_party/jsframework/mock-generate/src/common/ |
D | commonUtils.ts | 86 const moduleBody = moduleDeclaration.body; constant 87 if (moduleBody !== undefined && isModuleBlock(moduleBody)) { 88 moduleBody.statements.forEach(value => {
|