Skip to content

Parser

ts
export type Parser = typeof parser;

WARNING

Not to be used directly.

Representation of the parser function that is responsible for parsing TypeScript code and generating a structured representation of the code elements. The Parser type is defined as the type of the parser function, which is imported from the constants module. This allows for a clear and consistent reference to the parser function throughout the codebase, ensuring that any changes to the parser's implementation will be reflected in all places where it is used.

References