1%% 2%% %CopyrightBegin% 3%% 4%% Copyright Ericsson AB 1997-2016. All Rights Reserved. 5%% 6%% Licensed under the Apache License, Version 2.0 (the "License"); 7%% you may not use this file except in compliance with the License. 8%% You may obtain a copy of the License at 9%% 10%% http://www.apache.org/licenses/LICENSE-2.0 11%% 12%% Unless required by applicable law or agreed to in writing, software 13%% distributed under the License is distributed on an "AS IS" BASIS, 14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15%% See the License for the specific language governing permissions and 16%% limitations under the License. 17%% 18%% %CopyrightEnd% 19%% 20%% 21%% 22%% Module documentation: 23%% --------------------- 24%% 25%% Header file for the Erlang IDL compiler. Contains all records 26%% used in the parse tree 27%% 28%% 29%%------------------------------------------------------------ 30 31 32 33%%------------------------------------------------------------ 34 35-record(module, {id, body}). 36-record(interface, {id, inherit, body, inherit_body, tk}). 37-record(forward, {id, tk}). 38-record(constr_forward, {id, tk}). 39-record(const, {type, id, val, tk}). 40-record(type_dcl, {type, tk}). 41-record(typedef, {type, id, tk}). 42-record(struct, {id, body, tk}). 43-record(member, {type, id}). 44-record(union, {id, type, body, tk}). 45-record(case_dcl, {label, id, type}). 46-record(enum, {id, body, tk}). 47-record(enumerator, {id}). 48-record(sequence, {type, length=0}). 49-record(string, {length=0}). 50-record(wstring, {length=0}). %% WSTRING 51-record(array, {id, size}). 52-record(attr, {readonly, type, id, tk}). 53-record(except, {id, body, tk}). 54-record(op, {oneway, type, id, params, raises, ctx, tk}). 55-record(param, {inout, type, id, tk}). 56-record(fixed, {digits, scale, value}). 57 58%% NON-STANDARD 59-record(preproc, {cat, id, aux}). 60-record(pragma, {type, to, apply}). 61 62 63 64 65 66 67 68 69 70 71