ElixirScope.AST.Transformer (elixir_scope v0.0.1)

Core AST transformation engine for ElixirScope instrumentation.

This module provides the core logic for transforming Elixir ASTs to inject instrumentation calls while preserving original semantics and behavior.

Summary

Functions

Transforms a function definition based on instrumentation plan.

Transforms a GenServer callback based on instrumentation plan.

Transforms a LiveView callback based on instrumentation plan.

Transforms a complete module AST based on the instrumentation plan.

Transforms a Phoenix controller action based on instrumentation plan.

Functions

transform_function(arg, plan)

Transforms a function definition based on instrumentation plan.

transform_genserver_callback(arg, plan)

Transforms a GenServer callback based on instrumentation plan.

transform_liveview_callback(arg, plan)

Transforms a LiveView callback based on instrumentation plan.

transform_module(ast, plan)

Transforms a complete module AST based on the instrumentation plan.

transform_phoenix_action(arg, plan)

Transforms a Phoenix controller action based on instrumentation plan.