Searched refs:COMMONJS (Results 1 – 6 of 6) sorted by relevance
38 enum class ScriptKind { SCRIPT, MODULE, COMMONJS }; enumerator75 return kind_ == ScriptKind::COMMONJS; in IsCommonjs()
87 ParseProgram(ScriptKind::COMMONJS); in ParseCommonjs()
144 case ScriptKind::COMMONJS: { in Parse()
120 scriptKind = parser::ScriptKind::COMMONJS; in CollectInputFilesFromFileList()335 scriptKind_ = es2panda::parser::ScriptKind::COMMONJS; in Parse()
321 SetCommonjsField(context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS); in Emitter()324 if (context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS) { in Emitter()
831 if (program_->Kind() == parser::ScriptKind::COMMONJS) { in AddMandatoryParams()