Skip to content

search: use Map for parse tree changes

Administrator requested to merge rvt/parse-tree-utility-functions into master

Created by: rvantonder

  • Introduces Map for code that wants to change ParseTrees
  • Refactor alerts to use Map

Side note: these changes are towards separating code dependencies on Query that really just want access to ParseTree and transformations on it.

Side note: Map is loosely based on query transformer functions in Zoekt, but I would say it's a common higher-order function for transforming trees. Such functions will be useful with AND/OR queries.

Merge request reports

Loading