~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/dialyzer/test/options1_SUITE_data/src/compiler/core_parse.hrl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%% ``The contents of this file are subject to the Erlang Public License,
 
2
%% Version 1.1, (the "License"); you may not use this file except in
 
3
%% compliance with the License. You should have received a copy of the
 
4
%% Erlang Public License along with this software. If not, it can be
 
5
%% retrieved via the world wide web at http://www.erlang.org/.
 
6
%%
 
7
%% Software distributed under the License is distributed on an "AS IS"
 
8
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
9
%% the License for the specific language governing rights and limitations
 
10
%% under the License.
 
11
%%
 
12
%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
 
13
%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
 
14
%% AB. All Rights Reserved.''
 
15
%%
 
16
%%     $Id: core_parse.hrl,v 1.1 2008/12/17 09:53:42 mikpe Exp $
 
17
%%
 
18
%% Purpose : Core Erlang syntax trees as records.
 
19
 
 
20
%% It would be nice to incorporate some generic functions as well but
 
21
%% this could make including this file difficult.
 
22
 
 
23
%% Note: the annotation list is *always* the first record field.
 
24
%% Thus it is possible to define the macros:
 
25
%% -define(get_ann(X), element(2, X)).
 
26
%% -define(set_ann(X, Y), setelement(2, X, Y)).
 
27
 
 
28
-record(c_int, {anno=[], val}).         % val :: integer()
 
29
 
 
30
-record(c_float, {anno=[], val}).       % val :: float()
 
31
 
 
32
-record(c_atom, {anno=[], val}).        % val :: atom()
 
33
 
 
34
-record(c_char, {anno=[], val}).        % val :: char()
 
35
 
 
36
-record(c_string, {anno=[], val}).      % val :: string()
 
37
 
 
38
-record(c_nil, {anno=[]}).
 
39
 
 
40
-record(c_binary, {anno=[], segments}). % segments :: [#ce_bitstr{}]
 
41
 
 
42
-record(c_bitstr, {anno=[],val, % val :: Tree,
 
43
                   size,                % size :: Tree,
 
44
                   unit,                % unit :: integer(),
 
45
                   type,                % type :: atom(),
 
46
                   flags}).             % flags :: [atom()],
 
47
 
 
48
-record(c_cons, {anno=[], hd,           % hd :: Tree,
 
49
                 tl}).                  % tl :: Tree
 
50
 
 
51
-record(c_tuple, {anno=[], es}).        % es :: [Tree]
 
52
 
 
53
-record(c_var, {anno=[], name}).        % name :: integer() | atom()
 
54
 
 
55
-record(c_fname, {anno=[], id,          % id :: atom(),
 
56
                  arity}).              % arity :: integer()
 
57
 
 
58
-record(c_values, {anno=[], es}).       % es :: [Tree]
 
59
 
 
60
-record(c_fun, {anno=[], vars,          % vars :: [Tree],
 
61
                body}).                 % body :: Tree
 
62
 
 
63
-record(c_seq, {anno=[], arg,           % arg :: Tree,
 
64
                body}).                 % body :: Tree
 
65
 
 
66
-record(c_let, {anno=[], vars,          % vars :: [Tree],
 
67
                arg,                    % arg :: Tree,
 
68
                body}).                 % body :: Tree
 
69
 
 
70
-record(c_letrec, {anno=[], defs,       % defs :: [#ce_def{}],
 
71
                   body}).              % body :: Tree
 
72
 
 
73
-record(c_def, {anno=[], name,          % name :: Tree,
 
74
                val}).                  % val :: Tree,
 
75
 
 
76
-record(c_case, {anno=[], arg,          % arg :: Tree,
 
77
                 clauses}).             % clauses :: [Tree]
 
78
 
 
79
-record(c_clause, {anno=[], pats,       % pats :: [Tree],
 
80
                   guard,               % guard :: Tree,
 
81
                   body}).              % body :: Tree
 
82
 
 
83
-record(c_alias, {anno=[], var,         % var :: Tree,
 
84
                  pat}).                % pat :: Tree
 
85
 
 
86
-record(c_receive, {anno=[], clauses,   % clauses :: [Tree],
 
87
                    timeout,            % timeout :: Tree,
 
88
                    action}).           % action :: Tree
 
89
 
 
90
-record(c_apply, {anno=[], op,          % op :: Tree,
 
91
                  args}).               % args :: [Tree]
 
92
 
 
93
-record(c_call, {anno=[], module,       % module :: Tree,
 
94
                 name,                  % name :: Tree,
 
95
                 args}).                % args :: [Tree]
 
96
 
 
97
-record(c_primop, {anno=[], name,       % name :: Tree,
 
98
                   args}).              % args :: [Tree]
 
99
 
 
100
-record(c_try, {anno=[], arg,           % arg :: Tree,
 
101
                vars,                   % vars :: [Tree],
 
102
                body,                   % body :: Tree
 
103
                evars,                  % evars :: [Tree],
 
104
                handler}).              % handler :: Tree
 
105
 
 
106
-record(c_catch, {anno=[], body}).      % body :: Tree
 
107
 
 
108
-record(c_module, {anno=[], name,       % name :: Tree,
 
109
                   exports,             % exports :: [Tree],
 
110
                   attrs,               % attrs :: [#ce_def{}],
 
111
                   defs}).              % defs :: [#ce_def{}]