MCPcopy Create free account
hub / github.com/borgo-lang/borgo / parse_expr_no_struct

Method parse_expr_no_struct

compiler/src/parser.rs:152–159  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

150 }
151
152 pub fn parse_expr_no_struct(&mut self) -> Expr {
153 self.expr_bp(
154 0,
155 Restrictions {
156 structs_allowed: false,
157 },
158 )
159 }
160
161 // Algorithm stolen from matklad :)
162 // https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html

Callers 4

expr_matchMethod · 0.80
expr_ifMethod · 0.80
stmt_loopMethod · 0.80
stmt_selectMethod · 0.80

Calls 1

expr_bpMethod · 0.80

Tested by

no test coverage detected