Parse a single Expression, returning an Expression Node @fr = function registry with any additional functions ParseExprWithFuncs("5 * toint(item_name)", funcRegistry)
(p TokenPager, fr FuncResolver)
| 200 | // ParseExprWithFuncs("5 * toint(item_name)", funcRegistry) |
| 201 | // |
| 202 | func ParseExprWithFuncs(p TokenPager, fr FuncResolver) (Node, error) { |
| 203 | t := newTreeFuncs(p, fr) |
| 204 | // Parser panics on unexpected syntax, convert this into an err |
| 205 | return t.parse() |
| 206 | } |
| 207 | |
| 208 | // Parse a single Expression, returning an Expression Node |
| 209 | // |
no test coverage detected