pub fn should_run_parser(
parser_name: &str,
required: &HashSet<String>,
registry: &ProtocolRegistry,
) -> boolExpand description
Check if a specific parser should be run.
Returns true if:
- The parser’s output is directly needed by the query, OR
- The parser is on the path to a needed protocol (i.e., some required protocol depends on this one)
§Arguments
parser_name- Name of the parser to checkrequired- Set of protocols needed for the queryregistry- Protocol registry containing parser definitions