MCPcopy Create free account
hub / github.com/Glyphack/enderpy / parse_continue_statement

Method parse_continue_statement

parser/src/parser/parser.rs:1347–1353  ·  view source on GitHub ↗

https://docs.python.org/3/reference/simple_stmts.html#the-continue-statement

(&mut self)

Source from the content-addressed store, hash-verified

1345
1346 // https://docs.python.org/3/reference/simple_stmts.html#the-continue-statement
1347 fn parse_continue_statement(&mut self) -> Result<Statement, ParsingError> {
1348 let node = self.start_node();
1349 self.bump(Kind::Continue);
1350 Ok(Statement::ContinueStmt(Box::new(Continue {
1351 node: self.finish_node(node),
1352 })))
1353 }
1354
1355 // https://docs.python.org/3/reference/simple_stmts.html#the-global-statement
1356 fn parse_global_statement(&mut self) -> Result<Statement, ParsingError> {

Callers 1

Calls 3

start_nodeMethod · 0.80
bumpMethod · 0.80
finish_nodeMethod · 0.80

Tested by

no test coverage detected