1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-02 15:47:46 +01:00
liquid/parser/config.go

15 lines
277 B
Go
Raw Normal View History

2017-07-07 11:41:37 +02:00
package parser
import "github.com/osteele/liquid/expression"
2017-07-07 13:30:32 +02:00
// A Config holds configuration information for parsing and rendering.
2017-07-07 11:41:37 +02:00
type Config struct {
expression.Config
Grammar Grammar
}
2017-07-07 13:30:32 +02:00
// NewConfig creates a parser Config.
2017-07-07 11:41:37 +02:00
func NewConfig() Config {
2017-07-07 11:51:31 +02:00
return Config{}
2017-07-07 11:41:37 +02:00
}