mirror of
https://github.com/danog/liquid.git
synced 2024-11-30 06:59:03 +01:00
16 lines
316 B
Go
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}
|
|
}
|