mirror of
https://github.com/danog/liquid.git
synced 2024-12-02 15:47:46 +01:00
17 lines
318 B
Go
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}
|
|
}
|