Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](s []T, e T) bool
func CutRangeOut ¶
returns two new ranges, constructed by cutting innerRange out of wholeRange innerRange must be completely contained in wholeRange the resulting ranges are wholeRange.Start - innerRange.Start and innerRange.End - wholeRange.End
func GetRangeLength ¶
func GetRangeLength(rang token.Range, doc *documents.DocumentState) int
returns the length of a token.Range
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.