aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/block_variables.txt
blob: 8c6698c854c914b4a2384949621459f79b79cf0c (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
==================
block_variables
==================

program()

begin
  block b
  var
    x: Int
  end
end.

---

(source_file
  (program_declaration
    (block_statement
      (identifier)
      (block
        (var_section
          (variable_declaration
            (identifier_definition
              (identifier))
            (identifier)))))))