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