Skip to main content

MASTER_VERBS

Constant MASTER_VERBS 

Source
pub const MASTER_VERBS: &[&str];
Expand description

Every surface keyword that BEGINS an expression.

Exists so the formatter’s corpus can be checked against it. Three separate times a form was added to this parser, the formatter was not extended, and all three formatting laws still passed — because the corpus is hand-maintained and contained no example of the new form. The annotated def rendered as a method send; defmacro rendered as defmacro(double, x(), …), which does not re-parse at all.

A law cannot notice a case nobody wrote down. blue-lang-fmt’s every_surface_keyword_appears_in_the_corpus closes that by making the omission itself the failure, so adding a keyword here forces the corpus entry that exercises the other three laws over it.

do and end are absent deliberately: they are block delimiters, not expression heads, and have no standalone rendering to test. The master verbs a bare call dispatches on the subject’s space.