Function swc_ecma_transforms_react::parse_expr_for_jsx

source ·
pub fn parse_expr_for_jsx(
    cm: &SourceMap,
    name: &str,
    src: String,
    top_level_mark: Mark
) -> Arc<Box<Expr>>
Expand description

Parse src to use as a pragma or pragmaFrag in jsx.