| package rank |
| |
| var ( |
| apple int = 3 //@item(apple, "apple", "int", "var") |
| pear string = "hello" //@item(pear, "pear", "string", "var") |
| ) |
| |
| func _() { |
| orange := 1 //@item(orange, "orange", "int", "var") |
| grape := "hello" //@item(grape, "grape", "string", "var") |
| orange, grape = 2, "hello" //@complete(" \"", grape, pear, orange, apple) |
| } |
| |
| func _() { |
| var pineapple int //@item(pineapple, "pineapple", "int", "var") |
| pineapple = 1 //@complete(" 1", pineapple, apple, pear) |
| |
| y := //@complete(" /", pineapple, apple, pear) |
| } |