Function parse_with_actions

Source
pub fn parse_with_actions<A>(
    actions: &mut A,
    input: &str,
) -> Result<A::WebidlBindingsSection>
where A: Actions,
Expand description

Parse the given straw proposal text format input with custom parse actions.

Supply an Actions to do something while parsing. If you want to construct the default AST, use wasm_webidl_bindings::text::parse which uses the wasm_webidl_bindings::ast::BuildAstActions to construct the default AST.