[−][src]Macro nom_packrat::storage
Declare packrat storage
Arguments
- An output type of parser. The type must implement
Clone
. - (Optional) An extra key type. The type must implement
Eq + Hash + Clone
. - (Optional) Maximum entries of storage.
Examples
ⓘThis example deliberately fails to compile
storage!(String); storage!(String, 1024); storage!(String, ExtraInfo); storage!(String, ExtraInfo, 1024);