Function rustc_ap_rustc_parse::source_file_to_stream [−][src]
pub fn source_file_to_stream(
sess: &ParseSess,
source_file: Lrc<SourceFile>,
override_span: Option<Span>
) -> (TokenStream, Vec<UnmatchedBrace>)
Expand description
Given a source_file
, produces a sequence of token trees.