diff options
author | Hans Bolinder <[email protected]> | 2019-07-03 08:00:15 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-07-03 08:00:15 +0200 |
commit | 7788362a80a86b34d2228b201b3199b186f2d66a (patch) | |
tree | e73310ba5a765661f823833560af7a2f2d0c24e2 /lib/stdlib | |
parent | 8f8157d6f93779ef4c43c4de1a6c4a6c4ca847da (diff) | |
parent | ada05cf788024b9a8bdbb3a911d02aea373150dd (diff) | |
download | otp-7788362a80a86b34d2228b201b3199b186f2d66a.tar.gz otp-7788362a80a86b34d2228b201b3199b186f2d66a.tar.bz2 otp-7788362a80a86b34d2228b201b3199b186f2d66a.zip |
Merge branch 'kostis/erl_syntax/fix-types'
* kostis/erl_syntax/fix-types:
erl_parse: Add documentation for exported types
erl_syntax: Fix some type declarations
erl_parse: Export some types needed for syntax_tools
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/doc/src/erl_parse.xml | 19 | ||||
-rw-r--r-- | lib/stdlib/src/erl_parse.yrl | 2 |
2 files changed, 21 insertions, 0 deletions
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 @@ -69,6 +69,25 @@ <name name="erl_parse_tree"></name> </datatype> <datatype> + <name>af_binelement(_)</name> + <desc> + <p>Abstract representation of an element of a bitstring.</p> + </desc> + </datatype> + <datatype> + <name>af_generator()</name> + <desc> + <p>Abstract representation of a generator + or a bitstring generator.</p> + </desc> + </datatype> + <datatype> + <name>af_remote_function()></name> + <desc> + <p>Abstract representation of a remote function call.</p> + </desc> + </datatype> + <datatype> <name name="error_description"></name> </datatype> <datatype> 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 |