View Source ExFactor.Parser (ExFactor v0.4.1)

ExFactor.Parser we're making some assumptions that you're using this library within the context of a Mix app and that every file contains one or more defmodule blocks.

Link to this section Summary

Functions

Identify public and private functions from a module AST.

Identify private functions from a module AST.

Identify public functions from a module AST.

Parse the contents of a filepath in an Abstract Syntaxt Tree (AST) and extraxct the block contents of the module at the filepath.

Link to this section Functions

Identify public and private functions from a module AST.

Link to this function

block_contents(filepath)

View Source
Link to this function

private_functions(filepath)

View Source

Identify private functions from a module AST.

Link to this function

public_functions(filepath)

View Source

Identify public functions from a module AST.

Parse the contents of a filepath in an Abstract Syntaxt Tree (AST) and extraxct the block contents of the module at the filepath.