diff options
author | Richard Carlsson <[email protected]> | 2015-07-10 15:16:39 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2016-11-23 20:20:49 +0100 |
commit | 4171584048cc10d36a2e3c75518aa4e1991b0734 (patch) | |
tree | 88f80985e0227cf00be8099af7b1db14c5470c0f /lib/edoc | |
parent | b91bb55035c72eca500d9942e6915232f5f2d958 (diff) | |
download | otp-4171584048cc10d36a2e3c75518aa4e1991b0734.tar.gz otp-4171584048cc10d36a2e3c75518aa4e1991b0734.tar.bz2 otp-4171584048cc10d36a2e3c75518aa4e1991b0734.zip |
Make use of the Header feature in yecc
Diffstat (limited to 'lib/edoc')
-rw-r--r-- | lib/edoc/src/edoc_parser.yrl | 87 |
1 files changed, 28 insertions, 59 deletions
diff --git a/lib/edoc/src/edoc_parser.yrl b/lib/edoc/src/edoc_parser.yrl index 4773ab6ef6..30e09444b0 100644 --- a/lib/edoc/src/edoc_parser.yrl +++ b/lib/edoc/src/edoc_parser.yrl @@ -243,68 +243,37 @@ throws -> etype where_defs: #t_throws{type = '$1', defs = '$2'}. -%% (commented out for now) -%% Header -%% "%% ========================== -*-Erlang-*- =============================" -%% "%% EDoc function specification parser, generated from the file" -%% "%% \"edoc_parser.yrl\" by the Yecc parser generator." -%% "%%" -%% "%% Copyright (C) 2002-2005 Richard Carlsson" -%% "%%" -%% "%% Licensed under the Apache License, Version 2.0 (the "License"); you may" -%% "%% not use this file except in compliance with the License. You may obtain" -%% "%% a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>" -%% "%%" -%% "%% Unless required by applicable law or agreed to in writing, software" -%% "%% distributed under the License is distributed on an "AS IS" BASIS," -%% "%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied." -%% "%% See the License for the specific language governing permissions and" -%% "%% limitations under the License." -%% "%%" -%% "%% Alternatively, you may use this file under the terms of the GNU Lesser" -%% "%% General Public License (the "LGPL") as published by the Free Software" -%% "%% Foundation; either version 2.1, or (at your option) any later version." -%% "%% If you wish to allow use of your version of this file only under the" -%% "%% terms of the LGPL, you should delete the provisions above and replace" -%% "%% them with the notice and other provisions required by the LGPL; see" -%% "%% <http://www.gnu.org/licenses/>. If you do not delete the provisions" -%% "%% above, a recipient may use your version of this file under the terms of" -%% "%% either the Apache License or the LGPL." -%% "%%" -%% "%% @private" -%% "%% @author Richard Carlsson <[email protected]>" -%% "%% ====================================================================" -%% . +Header +"%% EDoc function specification parser, generated from the file" +"%% \"edoc_parser.yrl\" by the Yecc parser generator." +"%%" +"%% Licensed under the Apache License, Version 2.0 (the \"License\"); you may" +"%% not use this file except in compliance with the License. You may obtain" +"%% a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>" +"%%" +"%% Unless required by applicable law or agreed to in writing, software" +"%% distributed under the License is distributed on an \"AS IS\" BASIS," +"%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied." +"%% See the License for the specific language governing permissions and" +"%% limitations under the License." +"%%" +"%% Alternatively, you may use this file under the terms of the GNU Lesser" +"%% General Public License (the \"LGPL\") as published by the Free Software" +"%% Foundation; either version 2.1, or (at your option) any later version." +"%% If you wish to allow use of your version of this file only under the" +"%% terms of the LGPL, you should delete the provisions above and replace" +"%% them with the notice and other provisions required by the LGPL; see" +"%% <http://www.gnu.org/licenses/>. If you do not delete the provisions" +"%% above, a recipient may use your version of this file under the terms of" +"%% either the Apache License or the LGPL." +"%%" +"%% @private" +"%% @copyright 2002-2005 Richard Carlsson" +"%% @author Richard Carlsson <[email protected]>" +"". Erlang code. -%% ========================== -*-Erlang-*- ============================= -%% EDoc function specification parser, generated from the file -%% "edoc_parser.yrl" by the Yecc parser generator. -%% -%% Copyright (C) 2002-2005 Richard Carlsson -%% -%% Licensed under the Apache License, Version 2.0 (the "License"); you may -%% not use this file except in compliance with the License. You may obtain -%% a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0> -%% -%% Unless required by applicable law or agreed to in writing, software -%% distributed under the License is distributed on an "AS IS" BASIS, -%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -%% See the License for the specific language governing permissions and -%% limitations under the License. -%% -%% Alternatively, you may use this file under the terms of the GNU Lesser -%% General Public License (the "LGPL") as published by the Free Software -%% Foundation; either version 2.1, or (at your option) any later version. -%% If you wish to allow use of your version of this file only under the -%% terms of the LGPL, you should delete the provisions above and replace -%% them with the notice and other provisions required by the LGPL; see -%% <http://www.gnu.org/licenses/>. If you do not delete the provisions -%% above, a recipient may use your version of this file under the terms of -%% either the Apache License or the LGPL. -%% ==================================================================== - -export([parse_spec/2, parse_typedef/2, parse_throws/2, parse_ref/2, parse_see/2, parse_param/2]). |