(r rune)
| 79 | } |
| 80 | |
| 81 | func (p *parseState) isElementChar(r rune) bool { |
| 82 | delim, _ := utf8.DecodeRuneInString(p.t.Delimiter()) |
| 83 | return r != '{' && r != '}' && r != delim |
| 84 | } |
| 85 | |
| 86 | // gobbleString advances the parser for the remainder of the current string |
| 87 | // until it sees a non-escaped termination character, as specified by |