NewStatement creates Statement
(location *NodeLocation)
| 28 | |
| 29 | // NewStatement creates Statement |
| 30 | func NewStatement(location *NodeLocation) *Statement { |
| 31 | return &Statement{ |
| 32 | NewNode(location), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (q *Statement) Accept(visitor AstVisitor, ctx interface{}) interface{} { |