diff options
author | Hans Bolinder <[email protected]> | 2016-06-20 15:32:27 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-07-07 08:39:50 +0200 |
commit | fab6d311d90b2361b7e719ffa07a72b76826a55b (patch) | |
tree | ff35096eb4e9629cbc078660e7361c2c2e04e1ff /lib/syntax_tools/src/erl_comment_scan.erl | |
parent | 62074986287e10155293d19ac38659ed9521c018 (diff) | |
download | otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.gz otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.tar.bz2 otp-fab6d311d90b2361b7e719ffa07a72b76826a55b.zip |
syntax_tools: Improve types
Diffstat (limited to 'lib/syntax_tools/src/erl_comment_scan.erl')
-rw-r--r-- | lib/syntax_tools/src/erl_comment_scan.erl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_comment_scan.erl b/lib/syntax_tools/src/erl_comment_scan.erl index 03429d4d42..b5ac564146 100644 --- a/lib/syntax_tools/src/erl_comment_scan.erl +++ b/lib/syntax_tools/src/erl_comment_scan.erl @@ -30,8 +30,14 @@ %% ===================================================================== --type comment() :: {integer(), integer(), integer(), [string()]}. --type commentLine() :: {integer(), integer(), integer(), string()}. +-type comment() :: {Line:: integer(), + Column:: integer(), + Indentation :: integer(), + Text :: [string()]}. +-type commentLine() :: {Line :: integer(), + Column :: integer(), + Indent :: integer(), + Text :: string()}. %% ===================================================================== %% @spec file(FileName::file:filename()) -> [Comment] |