Coverage for jinja2_async_environment/compiler.py: 100%

1"""Async compiler module with backward compatibility exports.

2

3 This module provides backward compatibility by re-exporting all classes

4 from the new modular compiler structure.

5"""

6

7# Import all classes from the new modular structure

8 from jinja2.compiler import CodeGenerator

9

10 from .compiler_modules.cache import CompilationCache

11 from .compiler_modules.codegen import AsyncCodeGenerator, _compilation_cache

12 from .compiler_modules.dependencies import DependencyResolver

13 from .compiler_modules.frame import AsyncFrame

14 from .compiler_modules.loops import LoopCodeGenerator

15 from .compiler_modules.patterns import CompiledPatterns

16

17# Export all classes for backward compatibility

18 __all__ = [

19 "CompiledPatterns",

20 "CompilationCache",

21 "DependencyResolver",

22 "LoopCodeGenerator",

23 "AsyncFrame",

24 "AsyncCodeGenerator",

25 "CodeGenerator",

26 "_compilation_cache",

27]