mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-18 15:52:21 +00:00
Add compile_parsed_module() to RustIntegration, which takes a RustParsedProgram and a SourceCode (from parse_program with ProgramType::Module) and compiles it on the main thread with GC interaction. Rewrite compile_module() to use the new split functions internally. Add SourceTextModule::parse_from_pre_parsed() and JavaScriptModuleScript::create_from_pre_parsed() to allow creating module scripts from a pre-parsed RustParsedProgram. This prepares the infrastructure for off-thread module parsing. |
||
|---|---|---|
| .. | ||
| Agent.cpp | ||
| Agent.h | ||
| ClassicScript.cpp | ||
| ClassicScript.h | ||
| Environments.cpp | ||
| Environments.h | ||
| EnvironmentSettingsSnapshot.cpp | ||
| EnvironmentSettingsSnapshot.h | ||
| ExceptionReporter.cpp | ||
| ExceptionReporter.h | ||
| Fetching.cpp | ||
| Fetching.h | ||
| Fetching.idl | ||
| ImportMap.cpp | ||
| ImportMap.h | ||
| ImportMapParseResult.cpp | ||
| ImportMapParseResult.h | ||
| ModuleMap.cpp | ||
| ModuleMap.h | ||
| ModuleScript.cpp | ||
| ModuleScript.h | ||
| Script.cpp | ||
| Script.h | ||
| SerializedEnvironmentSettingsObject.cpp | ||
| SerializedEnvironmentSettingsObject.h | ||
| SimilarOriginWindowAgent.cpp | ||
| SimilarOriginWindowAgent.h | ||
| SyntheticRealmSettings.cpp | ||
| SyntheticRealmSettings.h | ||
| TemporaryExecutionContext.cpp | ||
| TemporaryExecutionContext.h | ||
| WindowEnvironmentSettingsObject.cpp | ||
| WindowEnvironmentSettingsObject.h | ||
| WorkerAgent.cpp | ||
| WorkerAgent.h | ||
| WorkerEnvironmentSettingsObject.cpp | ||
| WorkerEnvironmentSettingsObject.h | ||