summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/test/idl_reserved_words.idl
blob: 61ddabd48a5d17bebd9474b95b7f7211d2b6e422 (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
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

namespace reserved_words {

  enum Foo { _float, _DOMString };

  enum _enum {
    _callback,
    _namespace
  };

  dictionary _dictionary {
    long _long;
  };

  dictionary MyType {
    DOMString _interface;
  };

  interface Functions {
    static void _static(Foo foo, _enum e);
  };
};