Versions in this module Expand all Collapse all v1 v1.2.0 Feb 28, 2025 v1.1.0 Jan 27, 2025 v1.0.1 Jan 21, 2025 v1.0.0 Dec 20, 2024 Changes in this version + type Location struct + Col int + File string + JSONOptions astJSON.Options + Offset int + Row int + Tabs []int + Text []byte + func NewLocation(text []byte, file string, row int, col int) *Location + func (loc *Location) Compare(other *Location) int + func (loc *Location) Equal(other *Location) bool + func (loc *Location) Errorf(f string, a ...interface{}) error + func (loc *Location) Format(f string, a ...interface{}) string + func (loc *Location) MarshalJSON() ([]byte, error) + func (loc *Location) String() string + func (loc *Location) Wrapf(err error, f string, a ...interface{}) error