Protected
Readonly
grammarProtected
Readonly
grammarProtected
Readonly
lexerProtected
Readonly
linkerProtected
Readonly
tokenProtected
createProtected
createProtected
createConverts a parse result to a plain object. The resulting object can be sent across worker threads.
Protected
dehydrateProtected
dehydrateProtected
dehydrateProtected
dehydrateProtected
getProtected
getProtected
getConverts a plain object to a parse result. The included AST node can then be used in the main thread. Calling this method on objects that have not been dehydrated first will result in undefined behavior.
Protected
hydrateProtected
hydrateProtected
hydrateProtected
hydrateProtected
set
The hydrator service is responsible for allowing AST parse results to be sent across worker threads.