[][src]Module syntax::util::comments

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Re-exports

pub use CommentStyle::*;

Structs

CommentInternal

Enums

CommentStyleInternal

Functions

all_whitespaceInternal

Returns None if the first col chars of s contain a non-whitespace char. Otherwise returns Some(k) where k is first char offset after that leading whitespace. Note that k may be outside bounds of s.

doc_comment_styleInternal
gather_commentsInternal
is_block_doc_commentInternal
is_doc_commentInternal
is_line_doc_commentInternal
split_block_comment_into_linesInternal
strip_doc_comment_decorationInternal
trim_whitespace_prefixInternal