Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Fix JS lang spec: correct stale case_clause, add do_statement
test5eca425072f9
diff --git a/internal/cbm/lang_specs.c b/internal/cbm/lang_specs.cindex 3d4a67d94..1920d781c 100644--- a/internal/cbm/lang_specs.c+++ b/internal/cbm/lang_specs.c@@ -216,9 +216,17 @@ static const char *js_import_types[] = {"import_statement","extends","require",NULL};-static const char *js_branch_types[] = {"if_statement", "for_statement", "for_in_statement",- "while_statement", "switch_statement", "case_clause",- "try_statement", "catch_clause", NULL};+static const char *js_branch_types[] = {"if_statement",+ "for_statement",+ "for_in_statement",+ "while_statement",+ "switch_statement",+ "switch_case",+ "switch_default",+ "try_statement",+ "catch_clause",+ "do_statement",+ NULL};static const char *js_var_types[] = {"lexical_declaration", "variable_declaration", NULL};static const char *js_throw_types[] = {"throw_statement", NULL};