the JSON grammar as string
the path of the JSON grammar (for debugging/error information)
the GrammarLoadOptions with property mapping (list of GrammarOptions)
the callback when grammar compilation has been completed: callback(error | null, compiledGrammar, map, meta)
HELPER create info-object that helps deciding when to shut-down an async grammar compiler (i.e. stop its thread)
the grammar options with property mapping (list of GrammarOptions)
HELPER check, if runtime-configuration setting should/can be applied to GrammarOption
Prints warning, in case setting can/should not be applied.
the GrammarOption, either the root GrammarOptions, or a GrammarOptions.grammar[id] object
the ID, if options is a GrammarOptions.grammar[id] object
if NULL, do no check, otherwise the invalid value for GrammarOption.ignore, i.e. in which case the runtime setting can NOT be applied
description for the runtime setting, for print the warning-message in case the runtime setting cannot be applied
whether or not the runtime setting can/should be applied
Generated using TypeDoc
compile a JSON grammar into an executable JS grammar