Documentation
¶
Index ¶
- Constants
- func ArgTokens(v any) []string
- func DecodeEscapes(s string) string
- func DigitValue(c byte) int
- func DisplayWords(words []string) string
- func FlattenDisplay(parts []string) string
- func LenientWords(call *syntax.CallExpr) []string
- func LiteralAssignments(file *syntax.File) map[string]string
- func LiteralWord(word *syntax.Word) (string, bool)
- func ModeRequested(args map[string]any) bool
- func ParseEscapedNumber(s string, base, maxDigits int) (value byte, width int, ok bool)
- func ParseFile(src string) (file *syntax.File, bashOnly bool, ok bool)
- func Parses() int64
- func ResolveAssignedWords(call *syntax.CallExpr, assigns map[string]string) ([]string, bool)
- func SoleParamName(word *syntax.Word) (string, bool)
- func Structural(trusted Kind, goos string) bool
- func UnescapeDoubleQuoted(s string) string
- func UnescapeUnquoted(s string) string
- func WithKind(ctx context.Context, kind string) context.Context
- func WordName(word *syntax.Word) (string, bool)
- type Kind
- type Line
- type Operator
- type Redirect
- type Step
Constants ¶
View Source
const MaxLineBytes = 64 * 1024
View Source
const UnknowableTarget = "(not statically knowable)"
Variables ¶
This section is empty.
Functions ¶
func DecodeEscapes ¶
func DigitValue ¶
func DisplayWords ¶
func FlattenDisplay ¶
func LenientWords ¶
func ModeRequested ¶
func ParseEscapedNumber ¶
func ResolveAssignedWords ¶
func Structural ¶
func UnescapeDoubleQuoted ¶
func UnescapeUnquoted ¶
Types ¶
type Line ¶
type Redirect ¶
func RedirectView ¶
Click to show internal directories.
Click to hide internal directories.