MCPcopy Create free account
hub / github.com/PRQL/prql / skip

Method skip

prqlc/prqlc/src/utils/id_gen.rs:17–19  ·  view source on GitHub ↗
(&mut self, id: usize)

Source from the content-addressed store, hash-verified

15 }
16
17 fn skip(&mut self, id: usize) {
18 self.next_id = self.next_id.max(id + 1);
19 }
20
21 pub fn gen(&mut self) -> T {
22 let id = self.next_id;

Callers 7

convert_lexer_errorFunction · 0.80
display_ident_partFunction · 0.80
fold_cidMethod · 0.80
fold_tableMethod · 0.80
extern_ref_to_relationFunction · 0.80
expr_of_funcFunction · 0.80
combine_prql_and_framesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected