MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / advance

Function advance

codegraph-kernel/grammars/kotlin/scanner.c:123–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121static inline void skip(TSLexer *lexer) { lexer->advance(lexer, true); }
122
123static inline void advance(TSLexer *lexer) { lexer->advance(lexer, false); }
124
125static unsigned utf8_width(int32_t c) {
126 return c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;

Callers 13

scan_string_startFunction · 0.70
scan_string_contentFunction · 0.70
constructor_triviaFunction · 0.70
constructor_wordFunction · 0.70
constructor_balancedFunction · 0.70
constructor_annotationFunction · 0.70
trailing_lambda_followsFunction · 0.70
scan_automatic_semicolonFunction · 0.70
scan_import_dotFunction · 0.70

Calls 1

advanceMethod · 0.80

Tested by

no test coverage detected