Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h38 enum class ScriptKind { SCRIPT, MODULE, COMMONJS }; enumerator
75 return kind_ == ScriptKind::COMMONJS; in IsCommonjs()
/arkcompiler/ets_frontend/es2panda/parser/
Dcommonjs.cpp87 ParseProgram(ScriptKind::COMMONJS); in ParseCommonjs()
DparserImpl.cpp144 case ScriptKind::COMMONJS: { in Parse()
/arkcompiler/ets_frontend/es2panda/aot/
Doptions.cpp120 scriptKind = parser::ScriptKind::COMMONJS; in CollectInputFilesFromFileList()
335 scriptKind_ = es2panda::parser::ScriptKind::COMMONJS; in Parse()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp321 SetCommonjsField(context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS); in Emitter()
324 if (context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS) { in Emitter()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp831 if (program_->Kind() == parser::ScriptKind::COMMONJS) { in AddMandatoryParams()