From 2f96e2af145932008bfe417c0d6019255e569848 Mon Sep 17 00:00:00 2001 From: rzvxa Date: Sun, 23 Jun 2024 12:22:43 +0330 Subject: [PATCH] chore: add other definitions. --- tasks/ast_codegen/schema.json | Bin 533598 -> 804092 bytes tasks/ast_codegen/src/main.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/ast_codegen/schema.json b/tasks/ast_codegen/schema.json index 948a82925da9f2f06f8661954dd45a343660aa0d..1218680863e3861f9b0b64dca176ff19516a7875 100644 GIT binary patch delta 15383 zcmeG@ZEzJ;mhX1=yZ!S0LI{Bn@CBkUpz+0xpe}?YL_}14d<=t{g+xUKLWtpGP$ctk zH6pVsfzG_+qRs|XT-_}zF-p5?IRPyT9ZG}6xQxX>u>9e!>ErB`>t*bs0k`a~^uz;}h;ar_M50YQXxc)O~8A0e>AIbA(0h0NKv9$kX zd72jO8mk|e!Y^mW*oh2fhOzr&-SZW_dwzJ} z2!KS6vIXM*sFrK-(uh{wo`9}juu0Hyo@YY;X{A~3XpkckoC4>dwqpH4KV)6MlpnH@ z!9bn77`p#SiaD@Nyj_|oLGo$l7}P$zzt#_1e^%sMXeneVJ+W54M#4Yk)QH^tL3ylW zD%U%vs&74zW>PML?ub$a=RW7zFl&Z7TAx)C85;>-9?A)2YKPn3q7;7`2Q9rmhRE3aty>35!~!8tC7~a-qM6E0A3f zj;Obob2Ur&-|I&o=Z{D>T5e7D_N4A$2KKZ0;cROdN}rOhr468ECyQjP4mF0F@CXmW z?%nLl)Lh;`>i?d>4U1G8r*>xNm8gBKFfhn6^{Knq%@Xwet(4vS)zp5bwLF&;zo7LW zSV?be((4SG&hljMx#uFkA!ecaJQOeW zci=#=M1N=l2Uh3}PqKb7EEqA+$`w8SqGUh{YZ;S+cD*CxgRf$2AOZ8fJO|wAN zP+t$RRw=hPG5v^*PG9jGc7h$mtxTQ5lV`*7B#&vi$ho90^Kf(MfzVB`u0)-w^?m(G zzW9l!eIWGH(0V-c-Mys;#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-KW67sVCcHJh}MJ z&)&{{>u(|JNolKn!f zp02Phy~ozb46~g0y@_^a?ei9%k+!hl{(?i0#%yHaX~Nj#oJt#J&!^t^H#<_b`8wB)WzGS^P$1(%(P-*<-ohQ9I){V%h58QTB= delta 454 zcmeysF35>e&HUIP{#BHu^c(uW^!0@PTvs3#5XxW zTW`CA9-A5C_6J@}W|Og~wBVfHpu_9{Q8j&DDzn%0UAjy>+y8ko%jivCu!f0cdcsfU zkV)sSZU6I;`3~#!g87UwlP~P%*nVy;s~PL`KU0}~CSTC!+Ps??CXn{&KGU=`be&V0r`-9VbL1k-FK*69Xy%nI#!=b5+Xoo87Qg*_x5%w%QT zZZU=R2-kFnIA*))1#6gVwjVgl+{ZW_BsHB&lEn-fQVObEEbTu|vu^)!nvJCbi*esL bz}}f|kjKKaU11%&4hI)60~bRq1Be6wYt*$M diff --git a/tasks/ast_codegen/src/main.rs b/tasks/ast_codegen/src/main.rs index 11370d28c46445..39de914de9d5bd 100644 --- a/tasks/ast_codegen/src/main.rs +++ b/tasks/ast_codegen/src/main.rs @@ -114,12 +114,12 @@ impl AstCodegen { } } -fn files() -> std::array::IntoIter { +fn files() -> std::array::IntoIter { fn path(path: &str) -> String { format!("crates/oxc_ast/src/ast/{path}.rs") } - [path("literal"), path("js")].into_iter() + [path("literal"), path("js"), path("ts"), path("jsx")].into_iter() } #[allow(clippy::print_stdout)]