Commit graph

386 commits

Author SHA1 Message Date
Boshen
7496bb521f
fix(minifier): print if.consequent correctly (#349) 2023-05-11 11:00:49 +08:00
Boshen
48e524ddcf
feat(ast_lower): scope tree (#344) 2023-05-10 22:38:34 +08:00
Boshen
6924e59c5c
chore: remove unused dependencies found by cargo-machete 2023-05-10 19:22:22 +08:00
Boshen
b6fb509b87
refactor: remove unused code from formatter and printer 2023-05-09 23:19:34 +08:00
Boshen
a12eb7c2d1
fix(ast_lower): fix broken example due to not implementing serde 2023-05-09 22:08:30 +08:00
Boshen
b94fe5ebfa
refactor(syntax): clean up Operator 2023-05-09 22:04:50 +08:00
Boshen
8161ac2800
refactor: clean up Cargo.toml (put features table on top) 2023-05-09 21:53:47 +08:00
Boshen
e753a886d2
fix(minifier): add parentheses to CallExpression on FunctionExpression 2023-05-08 23:04:35 +08:00
Boshen
0f57a512f5
refactor(Formatter): remove minification logic 2023-05-08 22:59:18 +08:00
Boshen
1b83e6c16e
feat(oxc_index): add static_assert_size for compile time evaluation (#343) 2023-05-08 22:20:54 +08:00
Boshen
c5c88a965d
feat(oxc_index): add crate (#342) 2023-05-08 22:01:18 +08:00
Boshen
34f045d84d
chore(hir): removed unused PartialEq on NullLiteral 2023-05-08 20:41:42 +08:00
Boshen
65a445f512
refactor: move operator to oxc_syntax (#341) 2023-05-08 15:35:01 +08:00
Wenzhe Wang
52aa59bb38
feat(semantic): early check of simple assignment (#340) 2023-05-07 23:05:08 +08:00
Boshen
ebe8466500
refactor(span): remove unused code 2023-05-07 23:01:12 +08:00
Boshen
29beb851f6
refactor(ast,hir): remove unnessary Eq and PartialEq 2023-05-07 22:42:57 +08:00
Boshen
e897306f3d
chore(coverage): test serialization on ast and hir (#339) 2023-05-07 22:05:45 +08:00
Boshen
ddf4ac9cc2
refactor(formatter): remove whitespace minification from formatter (#337) 2023-05-07 17:58:57 +08:00
Boshen
c2428d8abd
chore: rename oxc_printer to oxc_formatter (#336) 2023-05-07 17:47:13 +08:00
Boshen
86c01c7fb8
feat(minifier): use hir (#335) 2023-05-07 17:23:00 +08:00
Boshen
aed7b5d795
feat(hir): remove more TypeScript syntax 2023-05-07 13:06:09 +08:00
Boshen
72ba29f88b
feat(hir): complete first iteration of ast lowering (#327) 2023-05-06 19:13:44 +08:00
Boshen
7e130e56f8
refactor(ast): remove Option around all ImportOrExportKind 2023-05-05 22:39:29 +08:00
Boshen
a2be3bd227
refactor(ast): remove unnecessary ModuleDeclarationKind 2023-05-05 22:04:26 +08:00
Boshen
8ca5c4ce2e
chore(ast): add doc to TSExportAssignment and TSNamespaceExportDeclaration 2023-05-05 21:25:40 +08:00
Boshen
64ed8613a4
refactor(ast): remove unnecessary box from AssignmentTargetMaybeDefault::AssignmentTarget 2023-05-04 22:56:20 +08:00
Wenzhe Wang
638576c323
fix(ast): replace ArrayElementType (#330) 2023-05-04 20:33:58 +08:00
Boshen
3f388e77d1
refactor(ast): remove annoying #[must_use] and #[inline] (#333) 2023-05-04 15:33:23 +08:00
Boshen
99fdaad03a
chore(rust): bump bitflags to v2 2023-05-04 12:24:47 +08:00
Boshen
8cf7c130a4
refactor(ast): s/visit_pattern/visit_binding_pattern 2023-04-28 22:15:58 +08:00
Boshen
59ff1fb289
HIR (#319) 2023-04-28 10:33:26 +08:00
Boshen
f0066ea4cc
refactor: unify the usage of std::fmt import 2023-04-27 22:21:59 +08:00
Boshen
b6d00e5a6e
deps: remove thiserror from oxc_ast 2023-04-27 22:06:03 +08:00
Boshen
0cdcf03752
deps: remove miette from oxc_ast 2023-04-27 22:03:36 +08:00
Boshen
cd276c2850
feat: add oxc_span crate (#323) 2023-04-27 21:51:15 +08:00
Boshen
1004a1d197
chore: clean up workspace dependencies (#320) 2023-04-27 11:38:39 +08:00
Boshen
2fc16840de
chore(ast): remove unused code enter_object_expression 2023-04-26 18:50:04 +08:00
Boshen
becc5d0a3b
feat(hir): add HirId and HirBuilder for facilitating lowering (#318) 2023-04-25 23:16:04 +08:00
Boshen
2cd04811d1
feat(hir): copy AST over to HIR (#316) 2023-04-25 19:19:36 +08:00
Boshen
f194c84f0b
chore: remove the confusing unsafe impl from ast and allocator 2023-04-25 18:54:15 +08:00
Boshen
e7302eede1
feat(hir): concept of hir (#314) 2023-04-25 10:54:37 +08:00
Boshen
72976d3ae2
refactor(ast): remove all the serde renames, this is no longer estree so it's ok 2023-04-25 10:17:01 +08:00
Boshen
53140cb578
refactor(wasm): improve types a little bit 2023-04-24 21:41:19 +08:00
Boshen
a9b50987b4
chore: format toml files 2023-04-24 14:07:34 +08:00
Boshen
781c855c4d
feat(wasm): integrate linter, minifier and printer (#313) 2023-04-24 10:17:13 +08:00
Boshen
cecd743848
refactor(wasm): clean up wasm 2023-04-22 23:13:59 +08:00
Boshen
7aca953635
ci: add cargo deny 2023-04-22 22:35:19 +08:00
Boshen
4801e68b56
chore: bump deps (#311) 2023-04-22 22:09:53 +08:00
Boshen
8eeba69ea9
fix(ast): fix source_type attributes is null when serialized 2023-04-22 18:24:35 +08:00
Boshen
08dfbc98b2
fix(oxc_ast,oxc_parser): fix clippy warnings 2023-04-22 16:24:50 +08:00