pub const LOWERED_ASSERT: &str = "blue-assert";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 callee assert e lowers to.
Owned here, by the lowering itself, and read by every consumer. It was
briefly a literal here and a separate const in blue-lang-test, and the
shadowing gate then could not see a parser that lowered to the wrong name:
the gate checked its own copy. Same duplication class as the operator table.