summaryrefslogtreecommitdiff
path: root/java/test/Slice/keyword/Key.ice
blob: 8bf53601fb98b76a921b9a786a6ec73ba78b4c11 (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
// **********************************************************************
//
// Copyright (c) 2003-2009 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.
//
// **********************************************************************

[["java:package:test.Slice.keyword"]]
module abstract
{

enum assert
{
    boolean
};

struct break
{
    int case;
};

interface catch
{
    ["amd"] void checkedCast(int clone, out int continue);
};

interface default
{
    void do();
};

class else
{
    int if;
    ["ami"] void foo(default* equals, out int final);
};

class finalize extends else implements default, catch
{
};
sequence<assert> for;
dictionary<string, assert> goto;

exception hashCode
{
    int if;
};

exception import extends hashCode
{
    int instanceof;
    int native;
};

local interface new
{
    assert notify( break notifyAll, else null, finalize package, else* private, finalize * protected, catch* public,
                default* return, int static, int strictfp, int super)
        throws hashCode, import;
};

const int switch = 0;
const int synchronized = 0;
const int this = 0;
const int throw = 0;
const int toString = 0;
const int try = 0;
const int uncheckedCast = 0;
const int volatile = 0;
const int wait = 0;
const int while = 0;
const int finally = 0;
const int getClass = 0;

};