Versions in this module Expand all Collapse all v0 v0.0.1 Jul 18, 2026 Changes in this version + type ArgSet struct + Switches []Switch + func (a *ArgSet) String() string + type Lead int + const LeadLong + const LeadPlus + const LeadShort + func (l Lead) String() string + type Operand struct + Value Value + func (o *Operand) String() string + type ParseError struct + Msg string + Pos int + func (e *ParseError) Error() string + type Result struct + Stanzas []Stanza + func Parse() (*Result, error) + func ParseArgs(args []string) (*Result, error) + func ParseString(s string) (*Result, error) + func (r *Result) ArgSets() []*ArgSet + func (r *Result) Operands() []*Operand + func (r *Result) String() string + func (r *Result) ToPSL() ps.PSLList + func (r *Result) ToPSLString(pretty bool) string + type Stanza interface + String func() string + type State int + const StateBare + const StateOff + const StateOn + const StateValued + func (s State) String() string + type Switch struct + Lead Lead + Name string + State State + Values []Value + func (s Switch) First() (Value, bool) + func (s Switch) HasValues() bool + func (s Switch) IsBare() bool + func (s Switch) IsOff() bool + func (s Switch) IsOn() bool + func (s Switch) String() string + type Value struct + Float float64 + Int int64 + IsFloat bool + Kind ValueKind + PSL interface{} + Text string + func (v Value) AsString() string + func (v Value) Interface() interface{} + func (v Value) String() string + type ValueKind int + const KindBare + const KindNumber + const KindPSL + const KindQuoted + func (k ValueKind) String() string