scanMacro: `vec!`'s arguments are a list of values, `matches!`'s a value and a pattern.
(tree: Node<'t>, name: &str, src: &'t str, declared: &HashSet<String>, out: &mut Vec<MacroRef<'t>>)
| 2004 | |
| 2005 | /// scanMacro: `vec!`'s arguments are a list of values, `matches!`'s a value and a pattern. |
| 2006 | fn macro_scan_macro<'t>(tree: Node<'t>, name: &str, src: &'t str, declared: &HashSet<String>, out: &mut Vec<MacroRef<'t>>) { |
| 2007 | if name == "vec" { |
| 2008 | macro_capture_values(¯o_group_tokens(tree), true, src, out); |
| 2009 | } |
| 2010 | macro_scan_group(tree, name == "matches", false, src, declared, out); |
| 2011 | } |
| 2012 | |
| 2013 | /// captureValues: the function values among a call's arguments or a list's |
| 2014 | /// elements. A list (`list`) ends at the `;` of `[f; 3]`: what follows is its |
no test coverage detected