Versions in this module Expand all Collapse all v0 v0.4.2 Sep 14, 2026 v0.4.0 Sep 14, 2026 v0.3.0 Sep 14, 2026 v0.1.0 Sep 13, 2026 Changes in this version + type Dialect struct + AtSign bool + Backslash bool + Backtick bool + DollarNumber bool + DollarQuote bool + DoubleQuoteString bool + FoldIdentifier bool + HashComment bool + NestedBlockComment bool + Question bool + Style Style + func DialectFor(engine config.Engine) (Dialect, bool) + type Embed struct + Location int + Table *ast.TableName + func (e Embed) Orig() string + type EmbedSet []*Embed + func (es EmbedSet) Find(locations ...int) (*Embed, bool) + type Result struct + Text string + func Dialected(d Dialect, src string) *Result + func File(engine config.Engine, src string) *Result + func (r *Result) Origin(location int) int + func (r *Result) Statement(location int) *Statement + func (r *Result) Statements() []*Statement + type Statement struct + Dollar bool + Embeds EmbedSet + End int + Err error + Numbers map[int]int + ParamErr error + Params *named.ParamSet + Slices map[int]string + Start int + type Style int + const StyleDollar + const StyleOrdinal + const StyleQuestion