Skip to main content

parse_cpp

Function parse_cpp 

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

Parse a C/C++ kernel source string into an HIR Kernel.

ยงErrors

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