Skip to main content

Crate wxml_parser_rs

Crate wxml_parser_rs 

Source

Modules§

ir

Functions§

parse_for_eslint_json
parse_for_eslint_json_string
Parse WXML for ESLint and return the result as a JSON string directly, avoiding the expensive serde_json::from_str → Value step.
parse_json
parse_json_string
Parse WXML and return the result as a JSON string directly, avoiding the expensive serde_json::from_str → Value step. Use this when the consumer will parse JSON on the JS side (e.g. JSON.parse()).
parse_program_with_mode