Versions in this module Expand all Collapse all v0 v0.13.0 Sep 14, 2026 Changes in this version + func CriteriaBoundary(source string) int + func FindCodeToken(source, token string, start int) int + func FindLastTopLevelKeyword(source, keyword string, start int) int + func FindTopLevelKeyword(source, keyword string, start int) int + func HasTopLevelClause(source, clause string) bool + func IsWhitespace(value byte) bool + func MaskLineComments(text string) string + func ProtectedRangeAt(source string, position int) (int, int, string) + func ProtectionAt(source string, position int) string + func ReadGroupString(source string, start int, open, close byte) (string, int, bool) + func SplitArgs(source string) []string + func SplitTopLevelAlias(source string) (string, string) + func SplitTopLevelCSV(source string) []string + func TrimQuote(source string) string + func TrimQuotedArgs(args []string) []string + func ValidateStructure(text string) error + type CodeScanner struct + func NewCodeScanner(source string, start int) *CodeScanner + func (s *CodeScanner) Next() (int, bool) + func (s *CodeScanner) PreviousSignificant() (position int, kind string) + type Token string + func (t Token) Contains(source string) bool + func (t Token) Find(source string, start int) int + func (t Token) ReplaceAll(source, replacement string) string