Module syntax::parse::lexer::comments [−][src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Re-exports
pub use self::CommentStyle::*; |
Structs
| Comment |
[ Experimental ]
|
| Literal |
[ Experimental ]
|
Enums
| CommentStyle |
[ Experimental ]
|
Functions
| all_whitespace |
[ Experimental ] 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 k may be outside bounds of s. |
| consume_comment |
[ Experimental ]
|
| consume_whitespace_counting_blank_lines |
[ Experimental ]
|
| doc_comment_style |
[ Experimental ]
|
| gather_comments_and_literals |
[ Experimental ]
|
| is_doc_comment |
[ Experimental ]
|
| push_blank_line_comment |
[ Experimental ]
|
| read_block_comment |
[ Experimental ]
|
| read_line_comments |
[ Experimental ]
|
| read_shebang_comment |
[ Experimental ]
|
| strip_doc_comment_decoration |
[ Experimental ]
|
| trim_whitespace_prefix_and_push_line |
[ Experimental ]
|