Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor JinjaTracer: Split into two classes, break up "_slice_templa…
…te()" function (#2870) * Minor cleanup/refactor of JinjaTracer * More refactoring * More refactoring * More refactoring * Add more type annotations * Extract a function track_block_end() out of update_next_slice_indices() * Make some functions static * Split up _slice_template() some more * More types and tidying * RawSliceInfo: Provide default value for next_slice_indices * Use RawSliceInfo instance instead of alt_id/alt_code variables * Split JinjaTracer into two classes: JinjaAnalyzer and JinjaTracer * Make idx a field, rename as idx_raw * Tidying * PR review * PR review * Add explanatory comment about str_buff and str_parts Co-authored-by: Barry Hart <barry.hart@mailchimp.com>
- Loading branch information