Function awint_macro_internals::parse_usb
source · pub fn parse_usb(ast: &Ast, usb_txt: PText) -> Result<Usb, CCMacroError>
Expand description
In ranges we commonly see stuff like (x + y)
or (x - y)
with one of them
being a constant we can parse, which passes upward the Usb
and Usbr
chain to get calculated into a static width.