pub struct Parser<T> { priv rdr: ~T, priv ch: char, priv line: uint, priv col: uint, }
impl<T: std::iter::Iterator> Parser<T>
fn parse(&mut self) -> std::result::Result
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
(or str
), enum
,
trait
, typedef
(or
tdef
).