summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/dart_test/comments.idl
blob: 7ac1474435052cf2761f35561c9bc906840fd850 (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
// 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.

// This comment is for the comments namespace.
namespace comments {
  // This comments the "Functions" block, and should be ignored.
  interface Functions {
    // This comment is separated by at least one blank line from the start of
    // the function, and should be ignored.
  
    //
    // There's a blank line at the start of this comment.
    //
    // Documentation for basicFunction.
    // BasicFunction() is a great function.
    // There is a newline after this.
    //
    // It works like so:
    //        +-----+
    //        |     |     +--+
    //        |     |     |  |
    //        +-----+ --> +--+
    //
    // Some other stuff here.
    //    This paragraph starts with whitespace.
    //    Overall, its a great function.
    // There's also a blank line at the end of this comment.
    //
    static void basicFunction();
  };
};