Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LineContentAt ¶
func LineContentAt[T StringLikeContent](anchor Anchor, buf T) T
func MakeErrorAt ¶
func MakeErrorAt[T StringLikeContent](anchor Anchor, buf T, err error) error
Types ¶
type Anchor ¶
func CalcAnchor ¶
func CalcAnchor[T StringLikeContent](buf T) Anchor
type Location ¶
Location specifies line:column position within a text file - both numers are 1-based - empty inputs are treated as 1:1
func LocationAt ¶
func LocationAt[T StringLikeContent](anchor Anchor, buf T) Location
type StringLikeContent ¶
Click to show internal directories.
Click to hide internal directories.