Module file_processing

Module file_processing 

Source

Structs§

FileProcessingParams
Parameters for file processing
FileProcessingTimings
Structure to hold timing information for file processing stages

Functions§

filter_code_block_with_ast
Evaluate whether a block of lines satisfies a complex AST query using the ‘evaluate’ method in elastic_query::Expr. We assume the ‘term_matches’ map uses the same indexing as the AST’s QueryPlan term_indices.
filter_tokenized_block
Evaluate whether a tokenized block satisfies a complex AST query using the ‘evaluate’ method in elastic_query::Expr.
process_file_with_results
Main function for processing a file with matched lines