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

Method add_term

cel/src/parser/parser.rs:1125–1128  ·  view source on GitHub ↗
(&mut self, op_id: u64, expr: IdedExpr)

Source from the content-addressed store, hash-verified

1123 }
1124
1125 pub(crate) fn add_term(&mut self, op_id: u64, expr: IdedExpr) {
1126 self.terms.push(expr);
1127 self.ops.push(op_id);
1128 }
1129
1130 fn balanced_tree(&mut self, lo: usize, hi: usize) -> IdedExpr {
1131 let mid = (lo + hi).div_ceil(2);

Callers 2

visit_conditionalOrMethod · 0.80
visit_conditionalAndMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected