1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-26 19:44:45 +01:00
liquid/parser/config.go
2023-05-26 23:36:28 +02:00

16 lines
314 B
Go

package parser
import "github.com/danog/liquid/expressions"
// A Config holds configuration information for parsing and rendering.
type Config struct {
expressions.Config
Grammar Grammar
Delims []string
}
// NewConfig creates a parser Config.
func NewConfig(g Grammar) Config {
return Config{Grammar: g}
}