Skip to main content

extract_ecmascript_pseudo_call

Function extract_ecmascript_pseudo_call 

Source
pub fn extract_ecmascript_pseudo_call(
    node: Node<'_>,
    file: FileId,
    src: &[u8],
    handler: &GrammarHandler,
) -> Option<FlowEvent>
Expand description

Lower JSX/TSX opening elements to their component-call semantics. The concrete grammar vocabulary lives here and is shared only with the TypeScript adapter, which uses the same ECMAScript frontend shapes.