summaryrefslogtreecommitdiff
path: root/ruby/test/Slice/escape/Key.ice
blob: 2152ae74d7628a8dbdc0609dfd3688759c226893 (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
// **********************************************************************
//
// Copyright (c) 2003-present 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.
//
// **********************************************************************

[["underscore", "suppress-warning:deprecated"]]

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;
        int do;
        break* dup;
        int else;
    }

    interface elsif extends 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;
}