aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/tree-sitter/html-manual/Using-Parser.html
diff options
context:
space:
mode:
authorPo Lu2022-10-27 21:30:23 +0800
committerPo Lu2022-11-03 19:13:33 +0800
commitbd8e19e1e2ccfb76c1fccc4dff1f8774185cfea4 (patch)
tree0756173e0f224e81d80529be57acf8cf8e168046 /admin/notes/tree-sitter/html-manual/Using-Parser.html
parent88d54756d46101b97b7fde97b4bc3b62f7bd6c06 (diff)
downloademacs-bd8e19e1e2ccfb76c1fccc4dff1f8774185cfea4.tar.gz
emacs-bd8e19e1e2ccfb76c1fccc4dff1f8774185cfea4.zip
Stylistic changes to tree-sitter code
* src/treesit.c (treesit_find_override_name) (treesit_load_language_push_for_each_suffix, treesit_load_language) (Ftreesit_langauge_available_p, treesit_record_change) (make_treesit_parser, make_treesit_node, make_treesit_query) (Ftreesit_parser_create, Ftreesit_parser_delete, Ftreesit_parser_list) (treesit_check_range_argument, Ftreesit_parser_included_ranges) (Ftreesit_node_start, Ftreesit_node_end, Ftreesit_node_check) (Ftreesit_node_child_by_field_name, Ftreesit_pattern_expand) (Ftreesit_query_expand, treesit_predicates_for_pattern) (treesit_predicate_capture_name_to_text, treesit_predicate_equal) (treesit_predicate_match, treesit_eval_predicates) (Ftreesit_query_capture, treesit_search_dfs, treesit_build_sparse_tree) (syms_of_treesit): Use FOR_EACH_TAIL (or FOR_EACH_TAIL_SAFE where not obviously safe), and check list heads and tails correctly; fix coding style of various constructs, especially: variable = mumble (frob (bar), (foo () + bar ()) + (baz () + quux ())) which should actually be variable = mumble (frob (bar), (foo () + bar ()) + (baz () + quux ())) and foo = mumble (frob (bar), 0) + (foo () + bar ()) + (baz () + quux ()) which should actually be foo = (mumble (frob (bar), 0) + (foo () + bar ()) + (baz () + quux ())) * src/treesit.h: Make declaration coding style consistent.
Diffstat (limited to 'admin/notes/tree-sitter/html-manual/Using-Parser.html')
0 files changed, 0 insertions, 0 deletions