ElixirScope.AST.EnhancedTransformer (elixir_scope v0.0.1)

Enhanced AST transformer for granular compile-time instrumentation.

Provides "Cinema Data" - rich, detailed execution traces including:

  • Local variable capture at specific lines
  • Expression-level value tracking
  • Custom debugging logic injection

Summary

Functions

Injects custom debugging logic at specified points.

Injects expression tracing for specified expressions.

Injects local variable capture at specified lines or after specific expressions.

Transforms AST with enhanced capabilities.

Transforms AST with granular instrumentation capabilities.

Functions

ast_tracing_enabled?(module_name)

inject_custom_debugging_logic(ast, arg2)

Injects custom debugging logic at specified points.

inject_expression_tracing(ast, arg2)

Injects expression tracing for specified expressions.

inject_local_variable_capture(ast, plan)

Injects local variable capture at specified lines or after specific expressions.

transform_with_enhanced_instrumentation(ast, plan)

Transforms AST with enhanced capabilities.

transform_with_granular_instrumentation(ast, plan)

Transforms AST with granular instrumentation capabilities.