locationresolver

package
v2.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixPathToValidYamlExpression

func FixPathToValidYamlExpression(fixPath string) string

Types

type FixPathLocationResolver

type FixPathLocationResolver struct {
	// contains filtered or unexported fields
}

func NewFixPathLocationResolver

func NewFixPathLocationResolver(yamlPath string) (*FixPathLocationResolver, error)

func (*FixPathLocationResolver) ResolveLocation

func (l *FixPathLocationResolver) ResolveLocation(fixPath string, nodeIndex int) (Location, error)

type Location

type Location struct {
	Line   int
	Column int
}

Jump to

Keyboard shortcuts

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