1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-02 15:47:46 +01:00
liquid/parser/config.go
2017-07-09 11:49:24 -04:00

17 lines
318 B
Go

package parser
import "github.com/osteele/liquid/expression"
// A Config holds configuration information for parsing and rendering.
type Config struct {
expression.Config
Grammar Grammar
Filename string
LineNo int
}
// NewConfig creates a parser Config.
func NewConfig() Config {
return Config{LineNo: 1}
}