| // RUN: %clang_cc1 -Wdocumentation -ast-dump=json %s | FileCheck %s |
| |
| /// Aaa |
| int TestLocation; |
| |
| /// |
| int TestIndent; |
| |
| /// Aaa |
| int Test_TextComment; |
| |
| /// \brief Aaa |
| int Test_BlockCommandComment; |
| |
| /// \param Aaa xxx |
| /// \param [in,out] Bbb yyy |
| void Test_ParamCommandComment(int Aaa, int Bbb); |
| |
| /// \tparam Aaa xxx |
| template <typename Aaa> class Test_TParamCommandComment; |
| |
| /// \c Aaa |
| int Test_InlineCommandComment; |
| |
| /// <a>Aaa</a> |
| /// <br/> |
| int Test_HTMLTagComment; |
| |
| /// \verbatim |
| /// Aaa |
| /// \endverbatim |
| int Test_VerbatimBlockComment; |
| |
| /// \param ... More arguments |
| template<typename T> |
| void Test_TemplatedFunctionVariadic(int arg, ...); |
| |
| // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py |
| // using --filters=FullComment |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "line": 3, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 75, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 75, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 72, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 75, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " Aaa" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": {}, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": {}, |
| // CHECK-NEXT: "end": {} |
| // CHECK-NEXT: } |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "line": 9, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 123, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 123, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 120, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 123, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " Aaa" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "line": 12, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 161, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 151, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "BlockCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 153, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 5 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 152, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 161, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "brief", |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 158, |
| // CHECK-NEXT: "col": 11, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 158, |
| // CHECK-NEXT: "col": 11, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 161, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 158, |
| // CHECK-NEXT: "col": 11, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 158, |
| // CHECK-NEXT: "col": 11, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 161, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " Aaa" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "line": 15, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 239, |
| // CHECK-NEXT: "line": 16, |
| // CHECK-NEXT: "col": 27, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "line": 15, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 197, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 199, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 5 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 198, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 216, |
| // CHECK-NEXT: "line": 16, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "direction": "in", |
| // CHECK-NEXT: "param": "Aaa", |
| // CHECK-NEXT: "paramIdx": 0, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 208, |
| // CHECK-NEXT: "line": 15, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 208, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 216, |
| // CHECK-NEXT: "line": 16, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 208, |
| // CHECK-NEXT: "line": 15, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 208, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 211, |
| // CHECK-NEXT: "col": 18, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " xxx" |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 216, |
| // CHECK-NEXT: "line": 16, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 216, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 216, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 218, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 5 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 217, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 239, |
| // CHECK-NEXT: "col": 27, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "direction": "in,out", |
| // CHECK-NEXT: "explicit": true, |
| // CHECK-NEXT: "param": "Bbb", |
| // CHECK-NEXT: "paramIdx": 1, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 236, |
| // CHECK-NEXT: "col": 24, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 236, |
| // CHECK-NEXT: "col": 24, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 239, |
| // CHECK-NEXT: "col": 27, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 236, |
| // CHECK-NEXT: "col": 24, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 236, |
| // CHECK-NEXT: "col": 24, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 239, |
| // CHECK-NEXT: "col": 27, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " yyy" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "line": 19, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 296, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 6 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 295, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "param": "Aaa", |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " xxx" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 294, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 296, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 6 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 295, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "param": "Aaa", |
| // CHECK-NEXT: "positions": [ |
| // CHECK-NEXT: 0 |
| // CHECK-NEXT: ], |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 306, |
| // CHECK-NEXT: "col": 16, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 309, |
| // CHECK-NEXT: "col": 19, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " xxx" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "line": 22, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 374, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 374, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 372, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "InlineCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 373, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 373, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 374, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "c", |
| // CHECK-NEXT: "renderKind": "monospaced", |
| // CHECK-NEXT: "args": [ |
| // CHECK-NEXT: "Aaa" |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "line": 25, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 434, |
| // CHECK-NEXT: "line": 26, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "line": 25, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 434, |
| // CHECK-NEXT: "line": 26, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "line": 25, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 415, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "HTMLStartTagComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 417, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 416, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 418, |
| // CHECK-NEXT: "col": 7, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "a" |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 419, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 3 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 419, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 3 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 421, |
| // CHECK-NEXT: "col": 10, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": "Aaa" |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "HTMLEndTagComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 424, |
| // CHECK-NEXT: "col": 13, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 422, |
| // CHECK-NEXT: "col": 11, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 425, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "a" |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 430, |
| // CHECK-NEXT: "line": 26, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 430, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 430, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "HTMLStartTagComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 432, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 2 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 431, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 434, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "br", |
| // CHECK-NEXT: "selfClosing": true |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "line": 29, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 476, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 466, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "VerbatimBlockComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 468, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 8 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 467, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 476, |
| // CHECK-NEXT: "col": 14, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "name": "verbatim", |
| // CHECK-NEXT: "closeName": "endverbatim", |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "VerbatimBlockLineComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 480, |
| // CHECK-NEXT: "line": 30, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 480, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 484, |
| // CHECK-NEXT: "col": 8, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " Aaa" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "line": 34, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 539, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 5 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 538, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "direction": "in", |
| // CHECK-NEXT: "param": "...", |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " More arguments" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| |
| |
| // CHECK: "kind": "FullComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 537, |
| // CHECK-NEXT: "col": 4, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " " |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParamCommandComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 539, |
| // CHECK-NEXT: "col": 6, |
| // CHECK-NEXT: "tokLen": 5 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 538, |
| // CHECK-NEXT: "col": 5, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "direction": "in", |
| // CHECK-NEXT: "param": "...", |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "ParagraphComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "inner": [ |
| // CHECK-NEXT: { |
| // CHECK-NEXT: "id": "0x{{.*}}", |
| // CHECK-NEXT: "kind": "TextComment", |
| // CHECK-NEXT: "loc": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "range": { |
| // CHECK-NEXT: "begin": { |
| // CHECK-NEXT: "offset": 548, |
| // CHECK-NEXT: "col": 15, |
| // CHECK-NEXT: "tokLen": 0 |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "end": { |
| // CHECK-NEXT: "offset": 562, |
| // CHECK-NEXT: "col": 29, |
| // CHECK-NEXT: "tokLen": 1 |
| // CHECK-NEXT: } |
| // CHECK-NEXT: }, |
| // CHECK-NEXT: "text": " More arguments" |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |
| // CHECK-NEXT: ] |
| // CHECK-NEXT: } |