Skip to main content

PARSE_COUNT

Static PARSE_COUNT 

Source
static PARSE_COUNT: AtomicUsize
Expand description

Parse TypeScript source code into an AST

§Arguments

  • source_text - The TypeScript source code to parse
  • file_path - The path to the source file (used for determining file type)
  • config - Parser configuration options

§Returns

A ParseResult containing the parsed AST and any errors