1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk 9105892ec8
refactor: unify JavaScript script execution method (#11043)
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally
same renames were applied to methods on "deno_runtime::Worker" and
"deno_runtime::WebWorker".

A new macro was added to "deno_core" called "located_script_name" which
returns the name of Rust file alongside line no and col no of that call site.
This macro is useful in combination with "JsRuntime::execute_script"
and allows to provide accurate place where "one-off" JavaScript scripts
are executed for internal runtime functions.

Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-06-22 01:45:41 +02:00
..
coverage.rs refactor: move JsRuntimeInspector to deno_core (#10763) 2021-05-26 21:07:12 +02:00
doc.rs feat(cli): support "types" when type checking (#10999) 2021-06-22 07:18:32 +10:00
fmt.rs chore: upgrade crates (#10867) 2021-06-06 18:42:12 +02:00
installer.rs fix(deno install): support file: scheme URLs (#10562) 2021-05-19 07:40:23 -04:00
lint.rs chore: upgrade crates (#10559) 2021-05-10 22:39:16 +02:00
mod.rs feat(cli/doc): use type definitions "deno doc" if available (#8459) 2021-02-25 16:24:05 +01:00
repl.rs feat(repl): Type stripping in the REPL (#10934) 2021-06-21 15:13:25 -04:00
standalone.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
test_runner.rs refactor: unify JavaScript script execution method (#11043) 2021-06-22 01:45:41 +02:00
upgrade.rs fix(cli/upgrade): modify download size paddings (#10639) 2021-05-24 16:55:44 +09:00