NewSelect creates Select
(location *NodeLocation, distinct bool, selectItems []ISelectItem)
| 26 | |
| 27 | // NewSelect creates Select |
| 28 | func NewSelect(location *NodeLocation, distinct bool, selectItems []ISelectItem) *Select { |
| 29 | return &Select{ |
| 30 | NewNode(location), |
| 31 | distinct, |
| 32 | selectItems, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (r *Select) Accept(visitor AstVisitor, ctx interface{}) interface{} { |
no test coverage detected