aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_recomment.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-06-20 15:32:27 +0200
committerHans Bolinder <[email protected]>2016-07-07 08:39:50 +0200
commitfab6d311d90b2361b7e719ffa07a72b76826a55b (patch)
treeff35096eb4e9629cbc078660e7361c2c2e04e1ff /lib/syntax_tools/src/erl_recomment.erl
parent62074986287e10155293d19ac38659ed9521c018 (diff)
downloadotp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.gz
otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.bz2
otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.zip
syntax_tools: Improve types
Diffstat (limited to 'lib/syntax_tools/src/erl_recomment.erl')
-rw-r--r--lib/syntax_tools/src/erl_recomment.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_recomment.erl b/lib/syntax_tools/src/erl_recomment.erl
index c1141b2bc6..1d23034991 100644
--- a/lib/syntax_tools/src/erl_recomment.erl
+++ b/lib/syntax_tools/src/erl_recomment.erl
@@ -30,6 +30,9 @@
-export([recomment_forms/2, quick_recomment_forms/2, recomment_tree/2]).
+%% @type syntaxTree() = erl_syntax:syntaxTree(). An abstract syntax
+%% tree. See the {@link erl_syntax} module for details.
+
%% =====================================================================
%% @spec quick_recomment_forms(Forms, Comments::[Comment]) ->
%% syntaxTree()
@@ -55,7 +58,6 @@ quick_recomment_forms(Tree, Cs) ->
%% =====================================================================
%% @spec recomment_forms(Forms, Comments::[Comment]) -> syntaxTree()
%%
-%% syntaxTree() = erl_syntax:syntaxTree()
%% Forms = syntaxTree() | [syntaxTree()]
%% Comment = {Line, Column, Indentation, Text}
%% Line = integer()