MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / block_statement

Method block_statement

aiscript-vm/src/parser/mod.rs:1192–1198  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1190 }
1191
1192 fn block_statement(&mut self) -> Option<Stmt<'gc>> {
1193 let statements = self.block();
1194 Some(Stmt::Block {
1195 statements,
1196 line: self.previous.line,
1197 })
1198 }
1199
1200 fn return_statement(&mut self) -> Option<Stmt<'gc>> {
1201 let value = if !self.check(TokenType::Semicolon) {

Callers 4

statementMethod · 0.80
while_statementMethod · 0.80
for_statementMethod · 0.80
if_statementMethod · 0.80

Calls 1

blockMethod · 0.80

Tested by

no test coverage detected