pub fn wat_to_dcmstring_with_resolver( wat_src: &str, resolver: &dyn SyntaxRuleResolver, ) -> Result<DcMstring>
Converts WebAssembly Text Format (.wat) source into a DcMstring using resolver.
.wat
DcMstring
resolver
Returns an error if the .wat source fails to parse or cannot be encoded into DcMstring.