Skip to main content

Crate syntax_std

Crate syntax_std 

Source
Expand description

The grammars bezel links in, as one provider for syntax::registry.

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.