NewGroupingElement creates GroupingElement
(location *NodeLocation)
| 28 | |
| 29 | // NewGroupingElement creates GroupingElement |
| 30 | func NewGroupingElement(location *NodeLocation) *GroupingElement { |
| 31 | return &GroupingElement{ |
| 32 | NewNode(location), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (g *GroupingElement) Accept(visitor AstVisitor, ctx interface{}) interface{} { |
no test coverage detected