MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / expr_tails

Method expr_tails

compiler/src/modules/parser/expr.rs:32–35  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

30 }
31
32 pub(super) fn expr_tails(&mut self) {
33 self.postfix_tail();
34 self.infix_bp(0);
35 }
36
37 /* Pratt parser: unary prefix then infix loop via `binding_power` table. Bounds every recursive descent (prefix `-`/`+`/`~`/`await`/`not`, right-associative `**`, infix right operands) so deep chains raise instead of overflowing the native/WASM stack. */
38 pub(super) fn expr_bp(&mut self, min_bp: u8) {

Callers 1

name_stmtMethod · 0.80

Calls 2

postfix_tailMethod · 0.80
infix_bpMethod · 0.80

Tested by

no test coverage detected