MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / expression

Method expression

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

Source from the content-addressed store, hash-verified

1279 }
1280
1281 fn expression(&mut self) -> Option<Expr<'gc>> {
1282 self.parse_precedence(Precedence::Assignment)
1283 }
1284
1285 fn inline_if(&mut self, _can_assign: bool) -> Option<Expr<'gc>> {
1286 let then_expr = Box::new(self.previous_expr.take()?);

Callers 15

field_declarationMethod · 0.80
enum_declarationMethod · 0.80
parse_class_fieldMethod · 0.80
func_declarationMethod · 0.80
lambdaMethod · 0.80
const_declarationMethod · 0.80
var_declarationMethod · 0.80
while_statementMethod · 0.80
for_statementMethod · 0.80
if_statementMethod · 0.80
return_statementMethod · 0.80
expression_statementMethod · 0.80

Calls 1

parse_precedenceMethod · 0.80

Tested by

no test coverage detected