Skip to main content

parse_typescript

Function parse_typescript 

Source
pub fn parse_typescript(source: &str) -> Result<Kernel, CompileError>
Expand description

Parse a TypeScript kernel source string into an HIR Kernel.

ยงErrors

Returns CompileError::ParseError if the source cannot be parsed.