Home
last modified time | relevance | path

Searched refs:context (Results 1 - 25 of 134) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/
H A Decma_handle_scope.cpp23 auto context = thread_->GetCurrentEcmaContext(); in EcmaHandleScope() local
24 OpenHandleScope(context); in EcmaHandleScope()
25 OpenPrimitiveScope(context); in EcmaHandleScope()
28 void EcmaHandleScope::OpenHandleScope(EcmaContext *context) in OpenHandleScope() argument
30 prevNext_ = context->handleScopeStorageNext_; in OpenHandleScope()
31 prevEnd_ = context->handleScopeStorageEnd_; in OpenHandleScope()
32 prevHandleStorageIndex_ = context->currentHandleStorageIndex_; in OpenHandleScope()
34 context->HandleScopeCountAdd(); in OpenHandleScope()
35 prevHandleScope_ = context->GetLastHandleScope(); in OpenHandleScope()
36 context in OpenHandleScope()
40 OpenPrimitiveScope(EcmaContext *context) OpenPrimitiveScope() argument
54 auto context = thread_->GetCurrentEcmaContext(); ~EcmaHandleScope() local
59 CloseHandleScope(EcmaContext *context) CloseHandleScope() argument
73 ClosePrimitiveScope(EcmaContext *context) ClosePrimitiveScope() argument
98 auto context = thread->GetCurrentEcmaContext(); NewHandle() local
136 auto context = thread->GetCurrentEcmaContext(); NewPrimitiveHandle() local
[all...]
H A Decma_handle_scope.h40 void OpenHandleScope(EcmaContext *context);
41 void OpenPrimitiveScope(EcmaContext *context);
42 void CloseHandleScope(EcmaContext *context);
43 void ClosePrimitiveScope(EcmaContext *context);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_context_test.cpp30 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
31 thread->SwitchCurrentContext(context); in HWTEST_F_L0()
38 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
48 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
49 thread->SwitchCurrentContext(context); in HWTEST_F_L0()
52 context->SetRegExpCache(value2.GetTaggedValue()); in HWTEST_F_L0()
53 JSHandle<JSTaggedValue> res2 = context->GetRegExpCache(); in HWTEST_F_L0()
55 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
60 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
61 thread->SwitchCurrentContext(context); in HWTEST_F_L0()
72 auto context = EcmaContext::CreateAndInitialize(thread); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
H A Dpgo_profile_type.cpp25 ProfileTypeRef::ProfileTypeRef(PGOContext &context, const ProfileType &type) in ProfileTypeRef() argument
28 context.GetProfileTypePool()->TryAdd(type, apId); in ProfileTypeRef()
32 ProfileTypeRef &ProfileTypeRef::Remap([[maybe_unused]] const PGOContext &context) in Remap() argument
38 ProfileType::ProfileType(PGOContext &context, ProfileTypeRef typeRef) in ProfileType() argument
40 if (!context.GetHeader()->SupportWideProfileType()) { in ProfileType()
45 const auto *typeEntry = context.GetProfileTypePool()->GetEntry(typeRef.GetId()); in ProfileType()
54 std::optional<ProfileType> ProfileType::CreateFromProfileTypeRef(PGOContext &context, ProfileTypeRef typeRef) in CreateFromProfileTypeRef() argument
56 if (!context.GetHeader()->SupportWideProfileType()) { in CreateFromProfileTypeRef()
64 const auto *typeEntry = context.GetProfileTypePool()->GetEntry(typeRef.GetId()); in CreateFromProfileTypeRef()
71 ProfileType &ProfileType::Remap([[maybe_unused]]const PGOContext &context) in Remap() argument
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DcompilerImpl.cpp50 void CompilerImpl::HandleContextLiterals(public_lib::Context *context) in HandleContextLiterals() argument
52 auto *emitter = context->emitter; in HandleContextLiterals()
55 for (const auto &buff : context->contextLiterals) { in HandleContextLiterals()
59 emitter->LiteralBufferIndex() += context->contextLiterals.size(); in HandleContextLiterals()
62 ark::pandasm::Program *CompilerImpl::Emit(public_lib::Context *context) in Emit() argument
64 HandleContextLiterals(context); in Emit()
66 queue_.Schedule(context); in Emit()
70 auto *emitter = context->emitter; in Emit()
73 return emitter->Finalize(context->config->options->CompilerOptions().dumpDebugInfo, Signatures::ETS_GLOBAL); in Emit()
106 ASTVerificationRunner(ArenaAllocator &allocator, const public_lib::Context &context) in ASTVerificationRunner() argument
191 RunVerifierAndPhases(CompilerImpl *compilerImpl, public_lib::Context &context, const std::vector<Phase *> &phases, parser::Program &program) RunVerifierAndPhases() argument
230 RunPhases(CompilerImpl *compilerImpl, public_lib::Context &context, const std::vector<Phase *> &phases, parser::Program &program) RunPhases() argument
291 public_lib::Context context; CreateCompiler() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/
H A Dsignal_handler.cpp46 [[maybe_unused]] const void *context) in DumpStackTrace()
70 static bool CallSignalActionHandler(int sig, siginfo_t *info, void *context) in CallSignalActionHandler() argument
72 return Runtime::GetCurrent()->GetSignalManager()->SignalActionHandler(sig, info, context); in CallSignalActionHandler()
75 bool SignalManager::SignalActionHandler(int sig, siginfo_t *info, void *context) in SignalActionHandler() argument
78 if (InOatCode(info, context, true)) { in SignalActionHandler()
80 if (handler->Action(sig, info, context)) { in SignalActionHandler()
87 if (InOtherCode(sig, info, context)) { in SignalActionHandler()
96 bool SignalManager::InOatCode([[maybe_unused]] const siginfo_t *siginfo, [[maybe_unused]] const void *context, in InOatCode() argument
104 [[maybe_unused]] const void *context) const in InOtherCode()
170 [[maybe_unused]] const void *context, in GetMethodAndReturnPcAndSp()
45 DumpStackTrace([[maybe_unused]] int signo, [[maybe_unused]] const siginfo_t *info, [[maybe_unused]] const void *context) DumpStackTrace() argument
169 GetMethodAndReturnPcAndSp([[maybe_unused]] const siginfo_t *siginfo, [[maybe_unused]] const void *context, [[maybe_unused]] const Method **outMethod, [[maybe_unused]] const uintptr_t *outReturnPc, [[maybe_unused]] const uintptr_t *outSp) GetMethodAndReturnPcAndSp() argument
269 DetectSEGVFromCompiledCode(int sig, siginfo_t *siginfo, void *context) DetectSEGVFromCompiledCode() argument
281 DetectSEGVFromHandler(int sig, siginfo_t *siginfo, void *context) DetectSEGVFromHandler() argument
296 DetectSEGVFromMemory(int sig, siginfo_t *siginfo, void *context) DetectSEGVFromMemory() argument
309 DetectSEGVFromCode(int sig, siginfo_t *siginfo, void *context) DetectSEGVFromCode() argument
340 DetectSEGVFromNullCheck(int sig, siginfo_t *siginfo, void *context) DetectSEGVFromNullCheck() argument
397 SamplerSigSegvHandler([[maybe_unused]] int sig, [[maybe_unused]] siginfo_t *siginfo, [[maybe_unused]] void *context) SamplerSigSegvHandler() argument
408 DetectSEGVFromSamplingProfilerHandler([[maybe_unused]] int sig, [[maybe_unused]] siginfo_t *siginfo, [[maybe_unused]] void *context) DetectSEGVFromSamplingProfilerHandler() argument
429 RuntimeSEGVHandler(int sig, siginfo_t *siginfo, void *context) RuntimeSEGVHandler() argument
458 Action(int sig, siginfo_t *siginfo, void *context) Action() argument
476 Action(int sig, [[maybe_unused]] siginfo_t *siginfo, [[maybe_unused]] void *context) Action() argument
[all...]
H A Dclass_linker.cpp48 void ClassLinker::AddPandaFile(std::unique_ptr<const panda_file::File> &&pf, ClassLinkerContext *context) in AddPandaFile() argument
58 pandaFiles_.push_back({context, std::forward<std::unique_ptr<const panda_file::File>>(pf)}); in AddPandaFile()
61 if (context == nullptr || context->IsBootContext()) { in AddPandaFile()
222 Class *ClassLinker::FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context) in FindLoadedClass() argument
224 ASSERT(context != nullptr); in FindLoadedClass()
225 return context->FindClass(descriptor); in FindLoadedClass()
312 Span<Class *> interfaces, ClassLinkerContext *context, in SetupClassInfo()
324 if (!info.vtableBuilder->Build(dataAccessor, base, info.itableBuilder->GetITable(), context)) { in SetupClassInfo()
778 ClassLinkerContext *context, ClassLinkerErrorHandle in LoadBaseClass()
311 SetupClassInfo(ClassLinker::ClassInfo &info, panda_file::ClassDataAccessor *dataAccessor, Class *base, Span<Class *> interfaces, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler) SetupClassInfo() argument
777 LoadBaseClass(panda_file::ClassDataAccessor *cda, const LanguageContext &ctx, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler) LoadBaseClass() argument
799 LoadInterfaces(panda_file::ClassDataAccessor *cda, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler) LoadInterfaces() argument
862 LoadClass(panda_file::ClassDataAccessor *classDataAccessor, const uint8_t *descriptor, Class *baseClass, Span<Class *> interfaces, ClassLinkerContext *context, ClassLinkerExtension *ext, ClassLinkerErrorHandler *errorHandler) LoadClass() argument
922 ClassLinkerContext *context = GetExtension(lang)->GetBootContext(); LoadClass() local
949 IsContextCanBeLoaded(ClassLinkerContext *context, panda_file::ClassDataAccessor &classDataAccessor, const uint8_t *descriptor, ClassLinkerErrorHandler *errorHandler) IsContextCanBeLoaded() argument
974 LoadClass(const panda_file::File *pf, panda_file::File::EntityId classId, const uint8_t *descriptor, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler, bool addToRuntime ) LoadClass() argument
1084 BuildClass(const uint8_t *descriptor, bool needCopyDescriptor, uint32_t accessFlags, Span<Method> methods, Span<Field> fields, Class *baseClass, Span<Class *> interfaces, ClassLinkerContext *context, bool isInterface) BuildClass() argument
1180 LoadArrayClass(const uint8_t *descriptor, bool needCopyDescriptor, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler) LoadArrayClass() argument
1246 GetClass(const uint8_t *descriptor, bool needCopyDescriptor, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler ) GetClass() argument
1290 GetClass(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler ) GetClass() argument
1374 LOG(INFO, CLASS_LINKER) << "Cannot find class '" << className << "' in ctx " << context; GetMethod() local
1396 auto *context = caller.GetClass()->GetLoadContext(); GetMethod() local
1402 LOG(INFO, CLASS_LINKER) << "Cannot find class '" << className << "' in ctx " << context; GetMethod() local
1540 LOG(INFO, CLASS_LINKER) << "Cannot find class '" << className << "' in ctx " << context; GetField() local
[all...]
H A Dsignal_handler.h111 bool SignalActionHandler(int sig, siginfo_t *info, void *context);
112 bool InOatCode(const siginfo_t *siginfo, const void *context, bool checkBytecodePc) const;
113 bool InOtherCode(int sig, const siginfo_t *info, const void *context) const;
118 void GetMethodAndReturnPcAndSp(const siginfo_t *siginfo, const void *context, const Method **outMethod,
145 virtual bool Action(int sig, siginfo_t *siginfo, void *context) = 0;
159 bool Action(int sig, siginfo_t *siginfo, void *context) override;
177 bool Action(int sig, siginfo_t *siginfo, void *context) override;
H A Dclass_linker_extension.cpp118 // can load more classes and modify boot context in Initialize()
156 Class *ClassLinkerExtension::FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context /* = nullptr */) in FindLoadedClass()
158 return classLinker_->FindLoadedClass(descriptor, ResolveContext(context)); in FindLoadedClass()
162 ClassLinkerContext *context /* = nullptr */, in GetClass()
167 return classLinker_->GetClass(descriptor, needCopyDescriptor, ResolveContext(context), in GetClass()
197 ClassLinkerContext *context /* = nullptr */, in GetClass()
202 auto *cls = classLinker_->GetClass(pf, id, ResolveContext(context), ResolveErrorHandler(errorHandler)); in GetClass()
217 auto *context = klass->GetLoadContext(); in AddClass() local
219 auto *otherKlass = ResolveContext(context)->InsertClass(klass); in AddClass()
/arkcompiler/ets_frontend/ets2panda/util/
H A Dplugin.h50 void AfterParse(es2panda_Context *context) const in AfterParse()
53 afterParse_(context); in AfterParse()
57 void AfterCheck(es2panda_Context *context) const in AfterCheck()
60 afterCheck_(context); in AfterCheck()
64 void AfterLowerings(es2panda_Context *context) const in AfterLowerings()
67 afterLowerings_(context); in AfterLowerings()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DdebugInfoStorage.cpp141 bool DebugInfoStorage::FillEvaluateContext(EvaluateContext &context) in FillEvaluateContext() argument
143 const auto *contextPandaFile = GetPandaFile(context.sourceFilePath.Utf8()); in FillEvaluateContext()
145 LOG(WARNING, ES2PANDA) << "Could not find context file: " << context.sourceFilePath << std::endl; in FillEvaluateContext()
149 context.file = contextPandaFile; in FillEvaluateContext()
150 context.extractor = std::make_unique<panda_file::DebugInfoExtractor>(contextPandaFile); in FillEvaluateContext()
152 for (auto methodId : context.extractor->GetMethodIdList()) { in FillEvaluateContext()
153 for (const auto &entry : context.extractor->GetLineNumberTable(methodId)) { in FillEvaluateContext()
154 if (context.lineNumber == entry.line) { in FillEvaluateContext()
155 context in FillEvaluateContext()
[all...]
/arkcompiler/runtime_core/static_core/compiler/aot/
H A Daot_manager.cpp81 static void FancyClassContextPrint(std::string_view context) in FancyClassContextPrint() argument
85 size_t end = context.find(DELIMITER, start); in FancyClassContextPrint()
87 LOG(ERROR, AOT) << "\t\t" << context.substr(start, end - start); in FancyClassContextPrint()
89 end = context.find(DELIMITER, start); in FancyClassContextPrint()
91 LOG(ERROR, AOT) << "\t\t" << context.substr(start); in FancyClassContextPrint()
94 static bool CheckFilesInClassContext(std::string_view context, std::string_view aotContext) in CheckFilesInClassContext() argument
101 if (context.find(fileContext) == std::string::npos) { in CheckFilesInClassContext()
102 LOG(ERROR, AOT) << "Cannot found file " << fileContext << " in runtime context"; in CheckFilesInClassContext()
121 auto context = aotFile->IsBootPandaFile() ? bootClassContext_ : completeContext; in VerifyClassHierarchy()
125 // Aot file context mus in VerifyClassHierarchy()
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DcompilerImpl.cpp42 CompilerContext context(program->Binder(), options.isDebug, options.isDebuggerEvaluateExpressionMode, in Compile()
48 queue_ = new CompileFuncQueue(threadCount_, &context); in Compile()
55 if (context.IsMergeAbc()) { in Compile()
56 context.GetEmitter()->GenRecordNameInfo(); in Compile()
64 context.GetEmitter()->GetConstantLocalExportSlots()); in Compile()
67 return context.GetEmitter()->Finalize(options.dumpDebugInfo, patchFixHelper_); in Compile()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dclass_linker.h70 PANDA_PUBLIC_API Class *GetClass(const uint8_t *descriptor, bool needCopyDescriptor, ClassLinkerContext *context,
74 ClassLinkerContext *context, ClassLinkerErrorHandler *errorHandler = nullptr);
80 ClassLinkerContext *context);
82 Class *LoadClass(const panda_file::File &pf, panda_file::File::EntityId classId, ClassLinkerContext *context, in LoadClass() argument
85 return LoadClass(&pf, classId, pf.GetStringData(classId).data, context, errorHandler, addToRuntime); in LoadClass()
88 Method *GetMethod(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context = nullptr,
94 Field *GetField(const panda_file::File &pf, panda_file::File::EntityId id, ClassLinkerContext *context = nullptr,
101 ClassLinkerContext *context = nullptr);
274 Class *FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context = nullptr);
282 Span<Class *> interfaces, ClassLinkerContext *context, boo
380 ClassLinkerContext *context; global() member
[all...]
H A Dclass_linker_extension.h89 Class *FindLoadedClass(const uint8_t *descriptor, ClassLinkerContext *context = nullptr);
92 ClassLinkerContext *context = nullptr,
96 ClassLinkerContext *context = nullptr,
192 auto *context = fn(); in RegisterContext() local
193 if (context != nullptr) { in RegisterContext()
194 contexts_.push_back(context); in RegisterContext()
206 for (auto *context : contexts_) { in EnumerateContexts()
207 if (!cb(context)) { in EnumerateContexts()
217 ClassLinkerContext *ResolveContext(ClassLinkerContext *context) in ResolveContext() argument
219 if (context in ResolveContext()
[all...]
/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dcoroutine.cpp24 Coroutine *Coroutine::Create(Runtime *runtime, PandaVM *vm, PandaString name, CoroutineContext *context, in Create() argument
29 ark::panda_file::SourceLang::PANDA_ASSEMBLY, std::move(name), context, in Create()
36 ark::panda_file::SourceLang threadLang, PandaString name, CoroutineContext *context, in Coroutine()
40 context_(context), in Coroutine()
44 ASSERT(context != nullptr); in Coroutine()
54 void Coroutine::ReInitialize(PandaString name, CoroutineContext *context, std::optional<EntrypointInfo> &&epInfo) in ReInitialize() argument
56 ASSERT(context != nullptr); in ReInitialize()
59 context_ = context; in ReInitialize()
125 // has EP and separate native context for its execution in RetrieveStackInfo()
128 // does not have EP, executes on OS-provided context an in RetrieveStackInfo()
35 Coroutine(ThreadId id, mem::InternalAllocatorPtr allocator, PandaVM *vm, ark::panda_file::SourceLang threadLang, PandaString name, CoroutineContext *context, std::optional<EntrypointInfo> &&epInfo) Coroutine() argument
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dwalker.py91 def from_context(cls, context: DebugContext, sync_capture_timeout: float) -> Self:
93 client=context.client,
94 meta=context.meta,
95 process=context.process,
96 script_file=context.script_file,
156 async with compile_and_resume(code_or_file, entry_point=entry_point) as context:
158 context=context,
H A Ddebug.py159 async with _connect_and_set_breakpoints(nursery, debug_locator, meta, script_file, process) as context:
160 yield context
183 Return a :class:`StopOnPausedType` function that return :class:`debug_types.Paused` context.
192 async with compile_and_resume(code_or_file, entry_point=entry_point) as context:
193 paused = await context.client.resume_and_wait_for_paused()
195 context.script_file.source_file,
197 paused=paused_locator(paused=paused, client=context.client, meta=context.meta),
198 url=context.script_file.source_file,
201 yield Paused(locator=Locator(client=context
[all...]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
H A Dpgo_profile_type_pool.h65 uint32_t ProcessToBinary([[maybe_unused]] PGOContext &context, std::fstream &stream) override
72 uint32_t ParseFromBinary([[maybe_unused]] PGOContext &context, void **buffer,
85 void Remap(PGOContext &context) in Remap() argument
87 type_.Remap(context); in Remap()
163 void Remap(PGOContext &context) in Remap() argument
168 entry.second.Remap(context); in Remap()
H A Dpgo_method_type_set.cpp52 bool PGOMethodTypeSet::ParseFromBinary(PGOContext &context, void **buffer) in ParseFromBinary() argument
54 PGOProfilerHeader *const header = context.GetHeader(); in ParseFromBinary()
65 PGOSampleType::ConvertFrom(context, scalerInfo->GetType())); in ParseFromBinary()
69 type.ConvertFrom(context, defineInfo->GetType()); in ParseFromBinary()
75 info.ConvertFrom(context, *opTypeInfo); in ParseFromBinary()
79 auto protoChain = PGOProtoChain::ConvertFrom(context, protoChainRef); in ParseFromBinary()
89 bool PGOMethodTypeSet::ProcessToBinary(PGOContext &context, std::stringstream &stream) const in ProcessToBinary() argument
95 PGOSampleTypeRef sampleTypeRef = PGOSampleTypeRef::ConvertFrom(context, typeInfo.GetType()); in ProcessToBinary()
104 infoRef.ConvertFrom(context, typeInfo); in ProcessToBinary()
109 auto protoChainRef = PGOProtoChainRef::ConvertFrom(context, protoChai in ProcessToBinary()
[all...]
H A Dpgo_record_pool.h58 uint32_t ProcessToBinary([[maybe_unused]] PGOContext &context, std::fstream &stream) override
64 uint32_t ParseFromBinary([[maybe_unused]] PGOContext &context, void **buffer,
141 uint32_t ProcessToBinary(PGOContext &context, std::fstream &stream) override
150 ProfileTypeRef profileTypeRef(context, entry.first);
162 uint32_t ParseFromBinary(PGOContext &context, void **buffer,
168 ProfileType profileType(context, profileTypeRef);
266 void Merge(const PGOContext &context, PGOAbcFilePool &pool) in Merge() argument
272 context.AddAbcIdRemap(oldEntryId, newEntryId); in Merge()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dterminate.cpp45 char *context; in Terminate() local
46 char *lib = strtok_s(libs, ",", &context); in Terminate()
51 lib = strtok_s(nullptr, ",", &context); in Terminate()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.h120 explicit Emitter(CompilerContext *context);
126 void AddFunction(FunctionEmitter *func, CompilerContext *context);
127 void AddSourceTextModuleRecord(ModuleRecordEmitter *module, CompilerContext *context);
128 void AddScopeNamesRecord(CompilerContext *context);
134 void GenJsonContentRecord(const CompilerContext *context);
156 void AddHasTopLevelAwaitRecord(bool hasTLA, const CompilerContext *context);
157 void AddSharedModuleRecord(const CompilerContext *context);
158 void AddModuleRequestPhaseRecord(ModuleRecordEmitter *module, CompilerContext *context);
H A Demitter.cpp589 Emitter::Emitter(CompilerContext *context) in Emitter() argument
594 if (context->IsJsonInputFile()) { in Emitter()
595 GenJsonContentRecord(context); in Emitter()
599 if (context->IsMergeAbc()) { in Emitter()
600 auto recordName = context->Binder()->Program()->FormatedRecordName().Mutf8(); in Emitter()
602 SetPkgNameField(context->PkgName()); in Emitter()
603 SetCommonjsField(context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS); in Emitter()
606 if (context->Binder()->Program()->Kind() == parser::ScriptKind::COMMONJS) { in Emitter()
610 if (context->Binder()->Program()->Kind() == parser::ScriptKind::MODULE) { in Emitter()
611 AddHasTopLevelAwaitRecord(context in Emitter()
639 GenJsonContentRecord(const CompilerContext *context) GenJsonContentRecord() argument
653 AddFunction(FunctionEmitter *func, CompilerContext *context) AddFunction() argument
680 AddScopeNamesRecord(CompilerContext *context) AddScopeNamesRecord() argument
933 AddSourceTextModuleRecord(ModuleRecordEmitter *module, CompilerContext *context) AddSourceTextModuleRecord() argument
980 AddModuleRequestPhaseRecord(ModuleRecordEmitter *module, CompilerContext *context) AddModuleRequestPhaseRecord() argument
1011 AddHasTopLevelAwaitRecord(bool hasTLA, const CompilerContext *context) AddHasTopLevelAwaitRecord() argument
1034 AddSharedModuleRecord(const CompilerContext *context) AddSharedModuleRecord() argument
[all...]
/arkcompiler/ets_frontend/ets2panda/public/
H A Des2panda_lib.h101 es2panda_Context *(*ProceedToState)(es2panda_Context *context, es2panda_ContextState state); // context is consumed
102 void (*DestroyContext)(es2panda_Context *context);
104 es2panda_ContextState (*ContextState)(es2panda_Context *context);
105 char const *(*ContextErrorMessage)(es2panda_Context *context);
107 es2panda_Program *(*ContextProgram)(es2panda_Context *context);

Completed in 13 milliseconds

123456