ExAST.Comments (ExAST v0.11.0)

Copy Markdown View Source

Extracts comments from Elixir source while preserving source positions.

Summary

Functions

extract(source)

@spec extract(String.t()) :: [ExAST.Comment.t()]

text(source)

@spec text(String.t()) :: String.t()