feat: Create command finished #3

Merged
chrnx merged 6 commits from develop into main 2026-07-13 00:24:47 +00:00
Showing only changes of commit 314bf3a4b0 - Show all commits
-3
View File
@@ -179,9 +179,6 @@ pub fn add_to_module_array(src: &str, key: &str, symbol: &str) -> Option<String>
/// call's argument object (creating the `modules` key if absent). Idempotent; /// call's argument object (creating the `modules` key if absent). Idempotent;
/// reverts (returns `None`) on parse breakage or when no `createApp(...)` call /// reverts (returns `None`) on parse breakage or when no `createApp(...)` call
/// with an object argument is found. /// with an object argument is found.
// Not yet called outside this module's tests — the `matcha create module`
// generator that wires it in lands in the next task.
#[allow(dead_code)]
pub fn add_to_createapp_modules(src: &str, symbol: &str) -> Option<String> { pub fn add_to_createapp_modules(src: &str, symbol: &str) -> Option<String> {
let tree = parser().parse(src, None).unwrap(); let tree = parser().parse(src, None).unwrap();
let root = tree.root_node(); let root = tree.root_node();