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

Function modifier_word_allowed

codegraph-kernel/grammars/scala/scanner.c:520–522  ·  view source on GitHub ↗

No modifier precedes such a word, so `update match` stays a plain name. A definition keyword does follow one (`inline val`), which is why the two readers below keep their own names over the one table.

Source from the content-addressed store, hash-verified

518// definition keyword does follow one (`inline val`), which is why the two
519// readers below keep their own names over the one table.
520static bool modifier_word_allowed(TSLexer *lexer) {
521 return !word_is_expression_tail(lexer);
522}
523
524// The right operand of an operator has to start an expression, so `??? match`
525// on its own line is a statement rather than the tail of the line above.

Callers 2

modifier_name_followsFunction · 0.85
inline_modifier_followsFunction · 0.85

Calls 1

word_is_expression_tailFunction · 0.85

Tested by

no test coverage detected