Skip to main content

Crate lanekeep_lang

Crate lanekeep_lang 

Source
Expand description

Language trait and registry for lanekeep.

The Language trait and the registry mapping file extensions onto grammars.

This abstraction exists before it has a second implementor on purpose. Retrofitting it after a second language arrives is the expensive version of the same work.

Modules§

binding
What an identifier refers to.

Structs§

LanguageId
A language’s stable identifier, as written in a rule’s language field.
LanguageRegistry
Which languages are available, and which files belong to them.

Enums§

RegistryError
Why a language could not be registered.

Traits§

Language
A language lanekeep can parse.