mirror of
https://github.com/danog/liquid.git
synced 2024-11-26 19:44:45 +01:00
16 lines
314 B
Go
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}
|
|
}
|