Remove some dead functions in the highlighter

These are replaced by "visit" methods.
This commit is contained in:
Johannes Altmanninger 2020-11-29 05:58:11 +01:00
parent 7c7eac1182
commit 79df29e8fd

View file

@ -794,10 +794,6 @@ class highlighter_t {
void color_command(const ast::string_t &node);
// Color a node as if it were an argument.
void color_as_argument(const ast::node_t &node);
// Color a redirection.
void color_redirection(const ast::redirection_t &node);
// Color all the children of the command with the given type.
void color_children(const ast::node_t &parent, ast::type_t type, highlight_spec_t color);
// Colors the source range of a node with a given color.
void color_node(const ast::node_t &node, highlight_spec_t color);
// Colors a range with a given color.