Docs.rs
sage-parser-2.0.0
sage-parser 2.0.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
cargopete
Dependencies
chumsky ^0.9
normal
logos ^0.14
normal
miette ^7
normal
thiserror ^2
normal
pretty_assertions ^1
dev
Versions
85.79%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
format
sage_
parser
2.0.0
In sage_
parser::
formatter
sage_parser
::
formatter
Function
format
Copy item path
Source
pub fn format(program: &
Program
) ->
String
Expand description
Formats a Sage program into canonical source code.