StringNode holds a string constant. The value has been "unquoted".
| 779 | |
| 780 | // StringNode holds a string constant. The value has been "unquoted". |
| 781 | type StringNode struct { |
| 782 | NodeType |
| 783 | Pos |
| 784 | tr *Tree |
| 785 | Quoted string // The original text of the string, with quotes. |
| 786 | Text string // The string, after quote processing. |
| 787 | } |
| 788 | |
| 789 | func (t *Tree) newString(pos Pos, orig, text string) *StringNode { |
| 790 | return &StringNode{tr: t, NodeType: NodeString, Pos: pos, Quoted: orig, Text: text} |
nothing calls this directly
no outgoing calls
no test coverage detected