// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. use wander::parser::Element; use wander::preludes::common; use wander::{introspect, Introspection, NoHostType}; pub fn parse_str(input: &str) -> Element { introspect(input, &common::()) .unwrap() .element .clone() } pub fn introspect_str(input: &str) -> Introspection { introspect(input, &common::()).unwrap() }