blob: 3436d258f47391d7a355772cbd36f93fb33532f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
/**
* @file keyword_clash.idl
* @author Jeff Parsons <j.parsons@vanderbilt.edu>
*
* Tests handling of C++ keywords and escaped identifiers (IDL
* keywords) in mapping IDL3 to IDL2, and mapping the resulting
* IDL2 to C++.
*/
#ifndef CONVERTIDL3_KEYWORD_CLASH_IDL
#define CONVERTIDL3_KEYWORD_CLASH_IDL
#include "Components.idl"
module _interface
{
interface _attribute
{
exception _inout {};
};
};
module static
{
module _readonly
{
module protected
{
interface virtual
{
};
eventtype _eventtype
{
private virtual _public;
};
};
};
};
eventtype _eventtype
{
factory friend (in string _wstring);
};
interface _oneway {};
module _component
{
component _out supports static::_readonly::protected::virtual
{
provides _interface::_attribute _local;
provides _oneway else;
provides static::_readonly::protected::virtual while;
attribute long _abstract;
uses multiple _interface::_attribute if;
uses multiple _oneway mutable;
uses multiple static::_readonly::protected::virtual register;
uses _interface::_attribute _union;
uses _oneway _struct;
uses static::_readonly::protected::virtual volatile;
publishes _eventtype _object;
publishes static::_readonly::protected::_eventtype do;
consumes _eventtype _const;
consumes static::_readonly::protected::_eventtype const_cast;
emits _eventtype class;
emits static::_readonly::protected::_eventtype delete;
};
home new manages _out
{
static::_readonly::protected::virtual
catch (
inout static::_readonly::protected::_eventtype try)
raises (_interface::_attribute::_inout);
finder continue (in _interface::_attribute _inout);
};
};
#endif /* CONVERTIDL3_KEYWORD_CLASH_IDL */
|