2018-12-10 22:52:31 -07:00
|
|
|
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")
|
2019-10-30 14:59:48 -06:00
|
|
|
pineapple = 1 //@complete(" 1", pineapple, apple, pear)
|
2018-12-10 22:52:31 -07:00
|
|
|
|
2019-10-30 14:59:48 -06:00
|
|
|
y := //@complete(" /", pineapple, apple, pear)
|
2018-12-10 22:52:31 -07:00
|
|
|
}
|