NewSingleColumn creates SingleColumn
(location *NodeLocation, expr IExpression, alias *Identifier)
| 26 | |
| 27 | // NewSingleColumn creates SingleColumn |
| 28 | func NewSingleColumn(location *NodeLocation, expr IExpression, alias *Identifier) *SingleColumn { |
| 29 | return &SingleColumn{ |
| 30 | NewSelectItem(location), |
| 31 | alias, |
| 32 | expr, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (q *SingleColumn) Accept(visitor AstVisitor, ctx interface{}) interface{} { |
no test coverage detected