MCPcopy Create free account
hub / github.com/PLSysSec/wave / pop

Method pop

tools/fuzz-gen/src/specifications/preparser.rs:513–520  ·  view source on GitHub ↗

pop a token - note that punctuation is one token per character

(&mut self)

Source from the content-addressed store, hash-verified

511 }
512 /// pop a token - note that punctuation is one token per character
513 fn pop(&mut self) -> Option<TokenTree> {
514 if let Some(token) = self.tokens.pop_front() {
515 self.last_span = Some(token.span());
516 Some(token)
517 } else {
518 None
519 }
520 }
521 /// pop tokens into a new stream for syn2 until the given operator character
522 fn create_stream_until(&mut self, delimiter: &str) -> TokenStream {
523 let mut t = vec![];

Callers 7

extract_assertionMethod · 0.45
extract_pledgeMethod · 0.45
parse_conjunctionMethod · 0.45
parse_rust_untilMethod · 0.45
create_stream_untilMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected