mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
34 lines
331 B
Swift
34 lines
331 B
Swift
func Test() {
|
|
if true {
|
|
return
|
|
} else if true {
|
|
return
|
|
}
|
|
|
|
switch x {
|
|
case "1":
|
|
print("x")
|
|
default:
|
|
print("y")
|
|
@unknown default:
|
|
print("z")
|
|
}
|
|
|
|
for a in b {
|
|
}
|
|
|
|
while true{
|
|
}
|
|
|
|
repeat {
|
|
|
|
} while (true)
|
|
|
|
guard let name = person["name"] else {
|
|
return
|
|
}
|
|
|
|
return (
|
|
x + 1
|
|
)
|
|
}
|