From 43f93a7263e4cd1b7abfa55458b7b83331093fab Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Fri, 28 Jun 2019 09:31:11 +0200 Subject: erl_parse: Export some types needed for syntax_tools --- lib/stdlib/src/erl_parse.yrl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/stdlib') diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl index 4ad94f2507..ca53f992f6 100644 --- a/lib/stdlib/src/erl_parse.yrl +++ b/lib/stdlib/src/erl_parse.yrl @@ -604,6 +604,8 @@ Erlang code. -export_type([abstract_clause/0, abstract_expr/0, abstract_form/0, abstract_type/0, form_info/0, error_info/0]). +%% The following types are exported because they are used by syntax_tools +-export_type([af_binelement/1, af_generator/0, af_remote_function/0]). %% Start of Abstract Format -- cgit v1.2.3 From ada05cf788024b9a8bdbb3a911d02aea373150dd Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Tue, 2 Jul 2019 11:57:42 +0200 Subject: erl_parse: Add documentation for exported types --- lib/stdlib/doc/src/erl_parse.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'lib/stdlib') diff --git a/lib/stdlib/doc/src/erl_parse.xml b/lib/stdlib/doc/src/erl_parse.xml index 8142e5c0aa..d487cccdfc 100644 --- a/lib/stdlib/doc/src/erl_parse.xml +++ b/lib/stdlib/doc/src/erl_parse.xml @@ -68,6 +68,25 @@ + + af_binelement(_) + +

Abstract representation of an element of a bitstring.

+
+
+ + af_generator() + +

Abstract representation of a generator + or a bitstring generator.

+
+
+ + af_remote_function()> + +

Abstract representation of a remote function call.

+
+
-- cgit v1.2.3