locs

package
v0.0.0-...-bf3ae02 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loc

type Loc interface {
	Flag()
	Pos() token.Pos
	Info() (offset int, file string, line int)
	String() string
	// contains filtered or unexported methods
}

func NoLoc

func NoLoc() Loc

type Set

type Set interface {
	FileSet() *token.FileSet
	Alias(file, alias string)
	NewLoc(p token.Pos) Loc
	Reset()
	// contains filtered or unexported methods
}

func NewSet

func NewSet(fs *token.FileSet) Set

Jump to

Keyboard shortcuts

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