Utilities to manipulate Elixir source code
APACHE-2.0 License
Sourceror.get_meta/1
, Sourceror.get_args/1
,Sourceror.get_line/2
, Sourceror.get_column/2
andSourceror.get_end_line/2
.Sourceror.update_args/2
.Sourceror.get_start_position/2
,Sourceror.get_end_position/2
, Sourceror.get_range/1
andSourceror.get_line_span
.Sourceror.compare_positions/2
.Sourceror.correct_lines/3
now corrects comments lineSourceror.Comments.extract_comments/1
now preservesSourceror.postwalk/3
correctly propagates lineSourceror.postwalk/3
corrects end line numbers(end
,closing
, end_of_expression
) appropiately.