1
0
dust/tree-sitter-dust/corpus/match.txt

35 lines
697 B
Plaintext
Raw Normal View History

================================================================================
Match Values
================================================================================
match x {
1 => {
true
}
2 => false
}
--------------------------------------------------------------------------------
(root
(statement
(match
(expression
(identifier))
(expression
(value
(integer)))
(statement
(block
(statement
(expression
(value
(boolean))))))
(expression
(value
(integer)))
(statement
(expression
(value
(boolean)))))))