difftastic/vendored_parsers/tree-sitter-hack/test/cases/statements/try-catch-finally.exp

28 lines
689 B
Plaintext

(script
(try_statement
body: (compound_statement)
(catch_clause
type: (type_specifier
(qualified_identifier
(identifier)))
name: (variable)
body: (compound_statement))
(finally_clause
body: (compound_statement)))
(try_statement
body: (compound_statement)
(catch_clause
type: (type_specifier
(qualified_identifier
(identifier)))
name: (variable)
body: (compound_statement))
(catch_clause
type: (type_specifier
(qualified_identifier
(identifier)))
name: (variable)
body: (compound_statement))
(finally_clause
body: (compound_statement))))