Versions in this module Expand all Collapse all v0 v0.1.0 Oct 5, 2026 Changes in this version + func Serialize(s *ast.Script) (string, error) + func WordLit(w *syntax.Word) string + type BashTransformResult struct + AST *ast.Script + Metadata map[string]any + Script string + type Context struct + AST *ast.Script + Metadata map[string]any + type Pipeline struct + func New() *Pipeline + func (p *Pipeline) Plugins() []Plugin + func (p *Pipeline) Transform(script string) (*BashTransformResult, error) + func (p *Pipeline) TransformAST(parsed *ast.Script) (*BashTransformResult, error) + func (p *Pipeline) Use(plugin Plugin) *Pipeline + type Plugin interface + Name func() string + Transform func(ctx Context) Result + type Result struct + AST *ast.Script + Metadata any