Versions in this module Expand all Collapse all v0 v0.8.0 Oct 1, 2026 v0.6.0 Sep 30, 2026 v0.5.0 Sep 30, 2026 v0.4.0 Sep 29, 2026 v0.3.0 Sep 29, 2026 Changes in this version + func Delocalize(src string, loc *locale.Locale) string + func EscapeColumn(name string) string + func ExcelTableRef(src string) (string, bool) + func Localize(src string, loc *locale.Locale) string + func LocalizeError(err error, loc *locale.Locale) error + func LooksLikeCell(k string) bool + func SameSyntax(loc *locale.Locale) bool + func StructuredEnd(src string, i int) int + func WalkTables(n Node, fn func(TableRef)) type Rewriter + Table func(TableRef) Node + type TableItems uint8 + const ItemAll + const ItemData + const ItemHeaders + const ItemThisRow + const ItemTotals + type TableRef struct + From string + Items TableItems + Table string + To string + func (t TableRef) Cols() (string, string) + func (t TableRef) Excel() string + func (t TableRef) Rows() TableItems + func (t TableRef) String() string v0.2.0 Sep 27, 2026 Changes in this version + func EachChild(n Node, fn func(Node)) + type Array struct + Rows [][]Node + type Binding uint8 + const BindLambda + const BindLet + const BindNone + type Invoke struct + Args []Node + Fn Node + type Local struct + Name string type Rewriter + Local func(Local) Node type Signature + Binds Binding v0.1.0 Sep 27, 2026 Changes in this version + const MaxCols + const MaxDepth + const MaxRows + func AxisMaps(rows bool, sp Span) (func(Addr) (Addr, bool), func(Rect) (Rect, bool)) + func ColName(c int) string + func Expr(n Node) string + func LooksLikeRef(k string) bool + func ParseCol(s string) (int, bool) + func ParseLines(from, to string) (Rect, [2]Abs, bool) + func ParseRef(s string) (Addr, Abs, bool) + func Qualified(sheet string, r Rect) string + func QuoteSheet(name string) string + func RangeString(r Rect, abs [2]Abs) string + func RefString(a Addr, abs Abs) string + func SheetKey(name string) string + func SplitSheet(s string) (sheet, rest string) + func Text(n Node) string + func WalkNames(n Node, fn func(Name)) + func WalkRefs(n Node, ref func(string, Addr), rng func(string, Rect)) + type Abs uint8 + const AbsCol + const AbsRow + type Addr struct + Col int + Row int + func ParseAddr(s string) (Addr, bool) + func (a Addr) String() string + func (a Addr) Valid() bool + type Binary struct + L Node + Op string + R Node + type Bool struct + V bool + type Call struct + Args []Node + Fn Func + type Empty struct + type Func interface + Signature func() Signature + type Funcs func(name string) (Func, bool) + type Name struct + Name string + type Node any + func Parse(src string, funcs Funcs) (Node, error) + func Rewrite(n Node, rw Rewriter) (Node, bool) + type Num struct + V float64 + type ParseError struct + Msg string + Pos int + func (e *ParseError) Error() string + type Range struct + Abs [2]Abs + Rect Rect + Sheet string + func NewRange(a, b Addr, aAbs, bAbs Abs) Range + type Rect struct + From Addr + To Addr + func NewRect(a, b Addr) Rect + func ParseRange(s string) (Rect, bool) + func (r Rect) AllCols() bool + func (r Rect) AllRows() bool + func (r Rect) Contains(a Addr) bool + func (r Rect) String() string + type Ref struct + Abs Abs + Addr Addr + Sheet string + type RefErr struct + type Rewriter struct + Name func(Name) Node + Range func(Range) Node + Ref func(Ref) Node + func Relocate(on func(sheet string) bool, cell func(Addr) (Addr, bool), ...) Rewriter + func Shift(dc, dr int) Rewriter + type Signature struct + Args string + Max int + Min int + Name string + Step int + type Span struct + At int + N int + Size int + func (sp Span) Interval(lo, hi int) (int, int, bool) + func (sp Span) Point(v int) (int, bool) + type Str struct + V string + type Unary struct + Op string + X Node