mirror of
https://github.com/helix-editor/helix
synced 2026-11-25 03:30:30 +01:00
13 lines
333 B
Go
13 lines
333 B
Go
package main
|
|
// ^ @namespace
|
|
type Point struct { X int }
|
|
// ^ @type.definition
|
|
// ^ @variable.other.member
|
|
// ^ @type.builtin
|
|
func (p Point) Dist(count int) bool {
|
|
// ^ @function.method
|
|
// ^ @variable.parameter
|
|
return helper(count)
|
|
// ^ @function
|
|
}
|