oxc/crates
DonIsaac 48821c0110 feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946)
There are many cases in lint rules where we want to see if a symbol is a
function by checking its SymbolFlags. This is currently not fully possible,
since variables assigned to arrow functions are not distinguished from any other
kind of variable. This PR adds `SymbolFlags::ArrowFunction` for variables that
are initialized to arrow functions. Symbols that are re-assigned to arrow
functions will not have this flag, but this is acceptable for lint rules.
2024-08-18 05:54:23 +00:00
..
oxc Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
oxc_allocator refactor(allocator, ast, span, ast_tools): use allocator as var name for Allocator (#4900) 2024-08-15 10:49:11 +00:00
oxc_ast feat(traverse): support generate_uid_based_on_node method in TraverseCtx (#4940) 2024-08-17 02:50:23 +00:00
oxc_ast_macros docs(ast, ast_macros, ast_tools): better documentation for Ast helper attributes. (#4856) 2024-08-15 11:32:36 +00:00
oxc_cfg Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
oxc_codegen fix(codegen): add missing declare to PropertyDefinition (#4937) 2024-08-17 14:26:24 +00:00
oxc_diagnostics Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
oxc_index refactor(index): shorten code and correct comment (#4905) 2024-08-14 17:55:25 +00:00
oxc_isolated_declarations fix(isolated-declarations): declare modifier of PropertyDefinition should not be retained (#4941) 2024-08-16 22:11:43 +08:00
oxc_js_regex
oxc_language_server refactor(linter): use diagnostic codes in lint rules (#4349) 2024-07-20 03:35:00 +00:00
oxc_linter feat(linter): add dangerous fixer for oxc only used in recursion (#4805) 2024-08-18 01:19:37 +00:00
oxc_macros chore(linter): update docs for declare_oxc_lint! (#4825) 2024-08-11 15:27:54 +00:00
oxc_mangler Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
oxc_minifier fix(minifier): handle Object.definedPropert(exports for @babel/types/lib/index.js (#4933) 2024-08-16 06:48:15 +00:00
oxc_module_lexer Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
oxc_parser chore(parser): remove multi-thread example 2024-08-16 22:57:10 +08:00
oxc_prettier chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
oxc_semantic feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946) 2024-08-18 05:54:23 +00:00
oxc_sourcemap refactor(sourcemap): lower the msrv. (#4873) 2024-08-13 10:52:34 +00:00
oxc_span refactor(allocator, ast, span, ast_tools): use allocator as var name for Allocator (#4900) 2024-08-15 10:49:11 +00:00
oxc_syntax feat(semantic,syntax): add SymbolFlags::ArrowFunction (#4946) 2024-08-18 05:54:23 +00:00
oxc_transformer fix(transformer/typescript): typescript syntax within SimpleAssignmentTarget with MemberExpressions is not stripped (#4920) 2024-08-16 05:05:10 +00:00
oxc_traverse feat(traverse): support generate_uid_based_on_node method in TraverseCtx (#4940) 2024-08-17 02:50:23 +00:00
oxc_wasm refactor(minifier): ast passes infrastructure (#4625) 2024-08-04 11:58:39 +00:00