MCPcopy Create free account
hub / github.com/aspizu/goboscript / remove_token

Method remove_token

src/pre_processor.rs:113–116  ·  view source on GitHub ↗
(&mut self, span: &mut Span)

Source from the content-addressed store, hash-verified

111 }
112
113 fn remove_token(&mut self, span: &mut Span) {
114 self.tokens.remove(*self.i);
115 span.end -= 1;
116 }
117
118 fn parse_define_begin(&mut self, span: &mut Span) -> Result<Option<Token>, Diagnostic> {
119 if get_token(&self.tokens[*self.i]) != &Token::Define {

Callers 6

parse_define_beginMethod · 0.80
parse_function_defineMethod · 0.80
parse_define_bodyMethod · 0.80
parse_undefMethod · 0.80
substitute_concatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected