pub fn input_vec_state(files: ~[std::option::Option], f: &fn(&str, FileInputState) -> bool) -> bool
Iterate over a vector of files (an empty vector implies just stdin
)
with the current state of the iteration provided at each call.
Fails when attempting to read from a file that can't be opened.
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
).