srcmap

package
v0.0.0-...-23afbe8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SrcLocation

type SrcLocation struct {
	Index     int
	Offset    int
	Length    int
	FileIndex int
	Jump      string
}

func (*SrcLocation) Copy

func (s *SrcLocation) Copy() *SrcLocation

func (*SrcLocation) Src

func (s *SrcLocation) Src() string

func (*SrcLocation) String

func (s *SrcLocation) String() string

type SrcMap

type SrcMap []*SrcLocation

func ParseSrcMap

func ParseSrcMap(m string) (SrcMap, error)

Jump to

Keyboard shortcuts

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