prefix
Registers a prefix parselets into the grammar.
Parameters
type
The token type to associate the parselet with.
parselet
The prefix parselet to register.
override
If set to true, imported parselets overrides existing ones. If false, they throw.
Registers a prefix parselets into the grammar.
Parameters
type
The token type to associate the parselet with.
override
If set to true, imported parselets overrides existing ones. If false, they throw.
block
The code to execute when the type matches.