Method
from_parse_tree
(p: pest::iterators::Pair<'_, Rule>, source: &SourceBuffer)
Source from the content-addressed store, hash-verified
| 10 | |
| 11 | impl Derive for ContinueStatement { |
| 12 | fn from_parse_tree(p: pest::iterators::Pair<'_, Rule>, source: &SourceBuffer) -> Self { |
| 13 | assert!(p.as_rule() == Rule::continue_stmt); |
| 14 | let loc = From::from(&p.as_span()); |
| 15 | Self { |
| 16 | loc: source.pointer(loc), |
| 17 | } |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | impl PrettyPrintable for ContinueStatement { |
Callers
nothing calls this directly
Tested by
no test coverage detected