[][src]Crate no_comment

Structs

WithoutComments

char iterator that removes rust-style line (// ...) and block (/* ... */) comments. Nested block comments (/* /* ... */ */) are treated correctly. Unclosed block comments (/* ...) are closed automatically when the inner iterator finishes. Closing unopened block comments (... */) causes a panic.

Traits

IntoWithoutComments

A trait to implement the without_comments method on all Iterator<Item=char>