PropWise.Parser (PropWise v0.3.2)

View Source

Parses Elixir source files and extracts function definitions with their ASTs.

Summary

Functions

Parses a single Elixir file and extracts all function definitions.

Parses all .ex files in the given directory recursively. Returns a list of PropWise.FunctionInfo structs.

Functions

parse_file(file_path)

@spec parse_file(String.t()) :: [PropWise.FunctionInfo.t()]

Parses a single Elixir file and extracts all function definitions.

parse_project(path, opts \\ [])

@spec parse_project(
  String.t(),
  keyword()
) :: [PropWise.FunctionInfo.t()]

Parses all .ex files in the given directory recursively. Returns a list of PropWise.FunctionInfo structs.

Accepts an optional analyze_paths list to avoid re-loading config.