summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Tests/parser/class.ast
blob: 98c5333e56b5f8f65b045d883402bb4f44a38b2a (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
TranslationUnit[0:0->10:1]
  StructOrClassDeclaration[0:6->10:1]
  A
    C'tor
      (
      Parameter[1:6->1:10]
      z
        NamedType[1:6->1:8]
          int
      )
    D'tor
      (
      )
    FunctionDeclaration[3:4->3:14]
      NamedType[3:4->3:7]
        void
      foo
      (
      )
    VariableDeclaration[6:4->8:0]
      NamedType[6:4->6:6]
        int
      x
    VariableDeclaration[9:4->10:0]
      NamedType[9:4->9:6]
        int
      y