Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + func ContainsExpansion(w *Word) bool + type ArithmCmd struct + type Assign struct + Naked bool + Name *Lit + Value *Word + type BinaryCmd struct + Op BinaryOp + X *Stmt + Y *Stmt + type BinaryOp int + const AndStmt + const OrStmt + const Pipe + const PipeAll + type Block struct + Stmts []*Stmt + type CallExpr struct + Args []*Word + Assigns []*Assign + Heredocs []*Heredoc + MergeStderr bool + type CmdSubst struct + Stmts []*Stmt + type Command interface + type DblQuoted struct + Parts []WordPart + type DeclClause struct + Args []*Assign + Variant *Lit + type Expansion struct + Op ParamExpOp + Word *Word + type File struct + Stmts []*Stmt + func Parse(src string) (*File, error) + type ForClause struct + Do []*Stmt + Loop *WordIter + type Heredoc struct + Body string + Delimiter string + StripTabs bool + type IfClause struct + Cond []*Stmt + Else *IfClause + Then []*Stmt + type LetClause struct + type Lit struct + Value string + type ParamExp struct + Exp *Expansion + Length bool + Param *Lit + type ParamExpOp int + const AlternateUnset + const AlternateUnsetOrNull + const AssignUnset + const AssignUnsetOrNull + const DefaultUnset + const DefaultUnsetOrNull + const ErrorUnset + const ErrorUnsetOrNull + type SglQuoted struct + Value string + type Stmt struct + Cmd Command + Negated bool + type Subshell struct + Stmts []*Stmt + type TestClause struct + Words []*Word + type TimeClause struct + Stmt *Stmt + type WhileClause struct + Cond []*Stmt + Do []*Stmt + Until bool + type Word struct + Parts []WordPart + type WordIter struct + Items []*Word + Name *Lit + type WordPart interface