{ "main": { "prefix": "main", "body": [ "pub fn main(world: World) -> Void raises {", " check world.out.write(\"$1\\\\n\")", "}" ], "description": "Zero main entrypoint" }, "type": { "prefix": "type", "body": [ "type ${1:Name} {", " ${2:field}: ${3:i32},", "}" ], "description": "Zero type declaration" }, "function": { "prefix": "fn", "body": [ "fn ${1:name}(${2:param}: ${3:i32}) -> ${4:i32} {", " return ${2:param}", "}" ], "description": "Zero function declaration" }, "test": { "prefix": "test", "body": [ "test \"${1:behavior}\" {", " expect(${2:true})", "}" ], "description": "Zero test block" }, "if": { "prefix": "if", "body": [ "if $1 {", " $2", "}" ], "description": "Zero if statement" }, "while": { "prefix": "while", "body": [ "while $1 {", " $2", "}" ], "description": "Zero while loop" } }