Skip to main content

print

Function print 

Source
pub fn print(doc: &CstDocument) -> String
Expand description

Print a CstDocument back to source text by concatenating all token text.

For an unmodified tree the result equals the original source bytes exactly.