position

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProtocolRange

func NewProtocolRange(startLine, startCharacter, endLine, endCharacter int) protocol.Range

func ProtocolToAST

func ProtocolToAST(point protocol.Position) ast.Location

func RangeASTToProtocol

func RangeASTToProtocol(lr ast.LocationRange) protocol.Range

RangeASTToProtocol translates a ast.LocationRange to a protocol.Range. The former is one indexed and the latter is zero indexed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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