analysis

package
v0.0.0-...-0f0f5c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location struct {
	URI   string
	Range Range
}

Location represents a location in a source file

func FindDefinition

func FindDefinition(uri string, content []byte, pos Position) ([]Location, error)

FindDefinition finds the definition of a symbol at the given position

type Position

type Position struct {
	Line      int
	Character int
}

Position represents a position in a document (0-based line and character)

type Range

type Range struct {
	Start Position
	End   Position
}

Range represents a range in a document

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL