Documentation
¶
Index ¶
- func BuiltinsForShell(effectivePath string) map[string]struct{}
- func CommandKnown(name string) (found, isBuiltin bool)
- func CommandNameFromWord(word string) string
- func InQuoteRange(line []rune, pos int) bool
- func IsEscapedAt(shell []rune, i int) bool
- func IsGoCommandName(name string) bool
- func IsShellOpAt(shell []rune, i int) bool
- func LooksLikePathToken(token string) bool
- func PathBinCandidates(prefix string) []string
- func QuoteStateAt(shell []rune, cursor int) (inQuote bool, quote rune)
- func ShellBuiltinsMap() map[string]struct{}
- func ShellTokenBounds(shell []rune, cursor int) (start, end int)
- func SkipShellOp(shell []rune, i int) int
- func StripOuterQuotes(word string) string
- func WordIndexInSegment(words []Word, tokenStart int) int
- type Segment
- type Word
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinsForShell ¶ added in v2026.608.1
func CommandKnown ¶
func CommandNameFromWord ¶
func InQuoteRange ¶
func IsEscapedAt ¶
func IsGoCommandName ¶
func IsShellOpAt ¶
func LooksLikePathToken ¶
func PathBinCandidates ¶
func ShellBuiltinsMap ¶
func ShellBuiltinsMap() map[string]struct{}
func ShellTokenBounds ¶
func SkipShellOp ¶
func StripOuterQuotes ¶
func WordIndexInSegment ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.