Skip to main content

Module grammars

Module grammars 

Source
Expand description

The grammars this crate links in, each behind the feature of its name.

install puts every row this build carries into the registry. Nothing registers itself — an app calls install once, and may register more from anywhere else before or after.

Statics§

LANGS
A slice rather than an array: its length is whatever the enabled features add up to, and an app that highlights one language compiles one grammar.

Functions§

install
Register every grammar this build carries. Calling it twice replaces the same rows rather than duplicating them.