MCPcopy
hub / github.com/midrender/revideo / initialize

Method initialize

packages/2d/src/lib/code/CodeHighlighter.ts:44–44  ·  view source on GitHub ↗

* Initializes the highlighter. * * @remarks * This method is called when collecting async resources for the node. * It can be called multiple times so caching the initialization is * recommended. * * If initialization is asynchronous, a promise should be registered using * {@

()

Source from the content-addressed store, hash-verified

42 * will mark the highlighter as ready.
43 */
44 initialize(): boolean;
45
46 /**
47 * Prepares the code for highlighting.

Callers 3

highlighterCacheMethod · 0.65
collectAsyncResourcesMethod · 0.65
tweenerMethod · 0.65

Implementers 1

LezerHighlighterpackages/2d/src/lib/code/LezerHighligh

Calls

no outgoing calls

Tested by

no test coverage detected