summaryrefslogtreecommitdiff
path: root/ruby/test/Slice/keyword/Key.ice
blob: 4ae5ddc9c1556ea0004a93654d134fa74e89755d (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
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

module BEGIN
{
    enum END
    {
        alias
    };

    struct and
    {
        int begin;
    };

    interface break
    {
        void case(int clone, int def);
        void to_a();
        void instance_variable_set();
        void instance_variables();
    };

    class display
    {
        int when;
        void do(break* dup, out int else);
    };

    class elsif extends display implements break
    {
    };

    sequence<END> rescue;
    dictionary<string, END> ensure;

    exception next
    {
        int new;
    };

    exception nil extends next
    {
        int not;
        int or;
    };

    local interface extend
    {
        END for(display freeze, elsif hash, break* if, display inspect, elsif method, int methods)
            throws nil;
    };

    const int redo = 1;
};