1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-26 23:34:47 +01:00
liquid/parser/config.go
2017-07-24 12:38:02 +10:00

16 lines
316 B
Go

package parser
import "github.com/osteele/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}
}