Skip to main content

Module state

Module state 

Source

Re-exportsยง

use crate::FormatterConfig; ๐Ÿ”’
use crate::InlineConfig; ๐Ÿ”’
use crate::pp; ๐Ÿ”’
use crate::pp::BreakToken; ๐Ÿ”’
use crate::pp::SIZE_INFINITY; ๐Ÿ”’
use crate::pp::Token; ๐Ÿ”’
use crate::state::sol::BinOpGroup; ๐Ÿ”’
use foundry_common::comments::Comment; ๐Ÿ”’
use foundry_common::comments::CommentStyle; ๐Ÿ”’
use foundry_common::comments::Comments; ๐Ÿ”’
use foundry_common::comments::estimate_line_width; ๐Ÿ”’
use foundry_common::comments::line_with_tabs; ๐Ÿ”’
use foundry_common::iter::IterDelimited; ๐Ÿ”’
use foundry_config::fmt::DocCommentStyle; ๐Ÿ”’
use foundry_config::fmt::IndentStyle; ๐Ÿ”’
use foundry_config::fmt::IntTypes; ๐Ÿ”’
use solar::parse::ast; ๐Ÿ”’
use solar::parse::ast::Span; ๐Ÿ”’
use solar::parse::interface::BytePos; ๐Ÿ”’
use solar::parse::interface::source_map::SourceFile; ๐Ÿ”’
use solar::parse::token; ๐Ÿ”’
use std::borrow::Cow; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Modulesยง

common ๐Ÿ”’
sol ๐Ÿ”’
yul ๐Ÿ”’

Structsยง

CallContext ๐Ÿ”’
Formatting context for a call expression.
CallStack ๐Ÿ”’
ChainedNamedCall ๐Ÿ”’
CommentConfig ๐Ÿ”’
SourcePos ๐Ÿ”’
State ๐Ÿ”’

Enumsยง

CallContextKind ๐Ÿ”’
Specifies the nature of a complex call.
Separator ๐Ÿ”’
Skip ๐Ÿ”’

Functionsยง

snippet_with_tabs ๐Ÿ”’
style_doc_comment ๐Ÿ”’
Formats a doc comment with the requested style.