parse

Macro parse 

Source
macro_rules! parse {
    ($ty:path, $rule:path, $code:expr) => { ... };
}
Expand description

Parse a rule from given string into a syntax element.

  • ty: Type of the output syntax element
  • rule: Parsing rule to use.
  • code: String slice of the code to parse