Skip to content

rest

const rest: unique symbol

Defined in: prism/core.d.ts:17

The symbol used to add a grammar that will get appended to this grammar.

The rest property can be the name of a language in languages. If that grammar doesn’t yet exist, the rest property persists, and the the rest grammar will be appended once it exists.