NewQueryBody creates QueryBody
(location *NodeLocation)
| 27 | |
| 28 | // NewQueryBody creates QueryBody |
| 29 | func NewQueryBody(location *NodeLocation) *QueryBody { |
| 30 | relation := NewRelation(location) |
| 31 | return &QueryBody{ |
| 32 | relation, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (q *QueryBody) Accept(visitor AstVisitor, ctx interface{}) interface{} { |
no test coverage detected