Versions in this module Expand all Collapse all v0 v0.1.0 Oct 5, 2026 Changes in this version + const MaxHeredocSize + const MaxInputSize + const MaxParserDepth + const MaxTokens + func Parse(src string) (*ast.Script, error) + func ParseString(src string) (*ast.Script, error) + func ParseWithLimits(src string, limits Limits) (*ast.Script, error) + type Limits struct + MaxHeredocSize int + MaxInputSize int + func DefaultLimits() Limits + type ParseError struct + Col int + Line int + Msg string + func (e *ParseError) Error() string