summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Tests/parser/out-of-line.ast
blob: d8e08c34f032933170bbf38a9814ebec0f2a46b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TranslationUnit[2:0->9:0]
  StructOrClassDeclaration[2:6->7:0]
  A

    FunctionDeclaration[4:4->4:14]
      NamedType[4:4->4:7]
        bool
      foo
      (
      )
  FunctionDeclaration[7:0->9:0]
    NamedType[7:0->7:3]
      bool
    A::foo
    (
    )
    FunctionDefinition[7:14->9:0]
    {
      ReturnStatement[8:4->8:15]
        BooleanLiteral[8:11->8:14]
          true
    }