parseRightDelim scans the right delimiter, which is known to be present.
(cur *ListNode)
| 184 | |
| 185 | // parseRightDelim scans the right delimiter, which is known to be present. |
| 186 | func (p *Parser) parseRightDelim(cur *ListNode) error { |
| 187 | p.pos += len(rightDelim) |
| 188 | p.consumeText() |
| 189 | cur = p.Root |
| 190 | return p.parseText(cur) |
| 191 | } |
| 192 | |
| 193 | // parseIdentifier scans build-in keywords, like "range" "end" |
| 194 | func (p *Parser) parseIdentifier(cur *ListNode) error { |
nothing calls this directly
no test coverage detected