Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ts2panda/tests/
Dcommonjs.test.ts48 CmdOptions.isCommonJs = () => {return true};
53 CmdOptions.isCommonJs = () => {return false};
87 CmdOptions.isCommonJs = () => {return true};
91 CmdOptions.isCommonJs = () => {return false};
110 CmdOptions.isCommonJs = () => {return true};
114 CmdOptions.isCommonJs = () => {return false};
/arkcompiler/ets_frontend/ts2panda/tests/utils/
Dbase.ts188 export function compileAfterSnippet(snippet: string, name:string, isCommonJs: boolean = false): any…
206 if (isCommonJs) {
/arkcompiler/ets_frontend/ts2panda/src/
DcmdOptions.ts162 static isCommonJs(): boolean { method in CmdOptions
DaddVariable2Scope.ts83 if (CmdOptions.isCommonJs() && node.kind === ts.SyntaxKind.SourceFile) {
DcompilerDriver.ts462 if (CmdOptions.isCommonJs()) {
Dts2panda.ts247 "commonjs_module": CmdOptions.isCommonJs(),
Dindex.ts165 if (CmdOptions.isCommonJs()) {
Dcompiler.ts1478 if (!CmdOptions.isCommonJs() && (variable.v.isLetOrConst() || variable.v.isClass())) {
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp874 static void GenerateCommonJsRecord(panda::pandasm::Program &prog, bool isCommonJs) in GenerateCommonJsRecord() argument
883 static_cast<uint8_t>(isCommonJs))); in GenerateCommonJsRecord()