[][src]Function wasm_webidl_bindings_text_parser::parse_with_actions

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

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.