Macro holmes::htype
[−]
[src]
macro_rules! htype { ($holmes:ident, [$t:tt]) => { ... }; ($holmes:ident, ($($t:tt),*)) => { ... }; ($holmes:ident, $i:ident) => { ... }; }
Converts an EDSL type specification into a Holmes type object Takes the name of a variable containing a holmes object as the first parameter, and a type description as the second.
[type] -> list of that type (type0, type1, type2) -> tuple of those types type -> look up type by name in the registry