NewIdentifier creates Identifier
(location *NodeLocation, value string, delimited bool)
| 26 | |
| 27 | // NewIdentifier creates Identifier |
| 28 | func NewIdentifier(location *NodeLocation, value string, delimited bool) *Identifier { |
| 29 | return &Identifier{ |
| 30 | NewExpression(location), |
| 31 | value, |
| 32 | delimited, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Accept accepts visitor |
| 37 | func (e *Identifier) Accept(visitor AstVisitor, ctx interface{}) interface{} { |
no test coverage detected