MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / next_expr

Method next_expr

cel/src/parser/parser.rs:43–45  ·  view source on GitHub ↗
(&mut self, expr: Expr)

Source from the content-addressed store, hash-verified

41
42impl MacroExprHelper<'_> {
43 pub fn next_expr(&mut self, expr: Expr) -> IdedExpr {
44 self.helper.next_expr_for(self.id, expr)
45 }
46
47 pub(crate) fn pos_for(&self, id: u64) -> Option<(isize, isize)> {
48 self.helper.source_info.pos_for(id)

Callers 15

report_parse_errorMethod · 0.80
visit_SelectMethod · 0.80
visit_IdentMethod · 0.80
visit_IntMethod · 0.80
visit_UintMethod · 0.80
visit_DoubleMethod · 0.80
visit_StringMethod · 0.80
visit_BytesMethod · 0.80
visit_BoolTrueMethod · 0.80
visit_BoolFalseMethod · 0.80
visit_NullMethod · 0.80
has_macro_expanderFunction · 0.80

Calls 2

next_expr_forMethod · 0.80
next_idMethod · 0.80

Tested by

no test coverage detected