pub fn generate_tokens(sources: &SourceDatabase, file: &File) -> TokenStream
Expand description
Generate Rust code from an AST.
The code is not formatted, pipe it through rustfmt
to get
readable source code.
pub fn generate_tokens(sources: &SourceDatabase, file: &File) -> TokenStream
Generate Rust code from an AST.
The code is not formatted, pipe it through rustfmt
to get
readable source code.