5
%% Copyright Ericsson AB 2009. All Rights Reserved.
5
%% Copyright Ericsson AB 2009-2010. All Rights Reserved.
7
7
%% The contents of this file are subject to the Erlang Public License,
8
8
%% Version 1.1, (the "License"); you may not use this file except in
9
9
%% compliance with the License. You should have received a copy of the
10
10
%% Erlang Public License along with this software. If not, it can be
11
11
%% retrieved online at http://www.erlang.org/.
13
13
%% Software distributed under the License is distributed on an "AS IS"
14
14
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15
15
%% the License for the specific language governing rights and limitations
16
16
%% under the License.
20
20
%%%-------------------------------------------------------------------
73
93
-type t13() :: maybe_improper_list(integer(), t11()).
74
94
-type t14() :: [erl_scan:foo() |
75
95
%% Should be highlighted
76
non_neg_integer() | nonempty_list() |
100
non_neg_integer() | nonempty_list() |
77
105
nonempty_improper_list() | nonempty_maybe_improper_list() |
106
maybe_improper_list() | string() | iolist() | byte() |
78
112
%% Should not be highlighted
79
113
nonempty_() | nonlist() |
80
erl_scan:bar(34, 92) | t13() | m:f(integer() | <<_:_*16>>)].
114
erl_scan:bar(34, 92) | t13() | m:f(integer() | <<_:_*16>>)].
81
117
-type t15() :: {binary(),<<>>,<<_:34>>,<<_:_*42>>,
82
118
<<_:3,_:_*14>>,<<>>} | [<<>>|<<_:34>>|<<_:16>>|
83
119
<<_:3,_:_*1472>>|<<_:19,_:_*14>>| <<_:34>>|
89
125
fun((nonempty_maybe_improper_list('integer', any())|
90
126
1|2|3|a|b|<<_:3,_:_*14>>|integer()) ->
91
127
nonempty_maybe_improper_list('integer', any())|
92
1|2|3|a|b|<<_:3,_:_*14>>|integer()).
128
1|2|3|a|b|<<_:3,_:_*14>>|integer()).
93
129
-type t20() :: [t19(), ...].
94
130
-type t21() :: tuple().
95
131
-type t21(A) :: A.
110
146
(t24()) -> t24() when is_subtype(t24(), atom()),
111
147
is_subtype(t24(), t14()),
112
148
is_subtype(t24(), t4()).
150
-spec over(I :: integer()) -> R1 :: foo:typen();
151
(A :: atom()) -> R2 :: foo:atomen();
152
(T :: tuple()) -> R3 :: bar:typen().
113
154
-spec mod:t2() -> any().
156
-spec handle_cast(Cast :: {'exchange', node(), [[name(),...]]}
157
| {'del_member', name(), pid()},
158
#state{}) -> {'noreply', #state{}}.
160
-spec handle_cast(Cast ::
161
{'exchange', node(), [[name(),...]]}
162
| {'del_member', name(), pid()},
163
#state{}) -> {'noreply', #state{}}.
165
-spec all(fun((T) -> boolean()), List :: [T]) ->
166
boolean() when is_subtype(T, term()). % (*)
168
-spec get_closest_pid(term()) ->
170
| {'error', {'no_process', term()}
171
| {'no_such_group', term()}}.
114
173
-opaque attributes_data() ::
115
174
[{'column', column()} | {'line', info_line()} |
116
175
{'text', string()}] | {line(),column()}.
129
188
f19 = 3 :: integer()|undefined,
130
189
f5 = 3 :: undefined|integer()}).
192
sequence_number = 1 :: integer()
134
196
highlighting(X) % Function definitions should be highlighted