Expand description
Mozcpp’s role rows. The dialect owns no file extension and shares
Cpp’s grammar shape with different kind ids, so its rows splice the
same cpp_family_* fragments Cpp’s do (roles/c_family.rs,
contract 5 of #1690): the paying-construct rows (#1694, #1695), the
space tree (#1696) and the control flow (#1697) are declared through
them, the Halstead keyword rows are declared (#1693) and the rest
are pending or absent as Cpp’s are.
Nothing routes a file to this dialect, so no corpus snapshot reaches
these rows; tests/parity/cpp_mozcpp_parity.rs holds the two
dialects together.
Modules§
- branch
- This language’s
Branchrow. - call
- This language’s
Callrow. - case_
arm - This language’s
CaseArmrow. - catch
- This language’s
Catchrow. - closure
- This language’s
Closurerow. - comment
- This language’s
Commentrow. - comparison
- This language’s
Comparisonrow. - container
- This language’s
Containerrow. - decl_
keyword - This language’s
DeclKeywordrow. - doc_
body_ residual - This language’s
DocBodyResidualrow. - doc_
comment - This language’s
DocCommentrow. - doc_
run_ directive - This language’s
DocRunDirectiverow. - doc_
run_ opener - This language’s
DocRunOpenerrow. - doc_
target - This language’s
DocTargetrow. - docstring
- This language’s
Docstringrow. - eager_
logical - This language’s
EagerLogicalrow. - else_if
- This language’s
ElseIfrow. - exit
- This language’s
Exitrow. - func_
opener - This language’s
FuncOpenerrow. - guard
- This language’s
Guardrow. - loop
- This language’s
Looprow. - member
- This language’s
Memberrow. - modifier
- This language’s
Modifierrow. - null_
safe - This language’s
NullSaferow. - primitive
- This language’s
Primitiverow. - short_
circuit - This language’s
ShortCircuitrow. - string_
lit - This language’s
StringLitrow. - switch
- This language’s
Switchrow. - ternary
- This language’s
Ternaryrow.
Functions§
- opens_
space - The
SpaceKindnodeopens, folded over everyopensannotation in this table;Unknownwhen it opens none. This is the one gated scan of the space-opening rows: a consumer that needs both “does it open a space” and “which kind” calls this once and tests forUnknown, rather than paying each owner’s gate twice throughownsand here.