Function macro_railroad::to_diagram
source · pub fn to_diagram(src: &str) -> Result<String>
Expand description
Create a syntax diagram as an SVG from the given macro_rules!-source.
Errors
If the input fails to parse as a macro_rules!
.