NewWith creates With
(location *NodeLocation, recursive bool, queries []*WithQuery)
| 26 | |
| 27 | // NewWith creates With |
| 28 | func NewWith(location *NodeLocation, recursive bool, queries []*WithQuery) *With { |
| 29 | return &With{ |
| 30 | NewNode(location), |
| 31 | recursive, |
| 32 | queries, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (n *With) Accept(visitor AstVisitor, ctx interface{}) interface{} { |