NewString node constructor
(Value string)
| 15 | |
| 16 | // NewString node constructor |
| 17 | func NewString(Value string) *String { |
| 18 | return &String{ |
| 19 | FreeFloating: nil, |
| 20 | Value: Value, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | // SetPosition sets node position |
| 25 | func (n *String) SetPosition(p *position.Position) { |