Function nom::add_error_pattern
[−]
[src]
pub fn add_error_pattern<'a, 'b, I, O>(h: &mut HashMap<Vec<u32>, &'b str>, res: IResult<'a, I, O>, message: &'b str) -> bool
pub fn add_error_pattern<'a, 'b, I, O>(h: &mut HashMap<Vec<u32>, &'b str>, res: IResult<'a, I, O>, message: &'b str) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, type
, macro
,
and const
.
Search functions by type signature (e.g.
vec -> usize
)