NewParserWithConfig builds a new parser instance with filters config.
(expr string, config *config.Filters)
| 47 | |
| 48 | // NewParserWithConfig builds a new parser instance with filters config. |
| 49 | func NewParserWithConfig(expr string, config *config.Filters) *Parser { |
| 50 | return &Parser{s: newBufScanner(strings.NewReader(expr)), expr: expr, c: config} |
| 51 | } |
| 52 | |
| 53 | // ParseSequence parses the collection of binary expressions with possible join |
| 54 | // statements and time frame constraints. This method assumes the SEQUENCE token |