Enum lib_ruby_parser::source::token_rewriter::RewriteAction [−][src]
#[repr(C)]
pub enum RewriteAction {
Drop,
Keep,
}
Expand description
Enum of what token rewriter should do with a token.
Variants
Means “drop the token”, i.e. don’t return it to a parser
Means “keep the token”, i.e. return it to a parser
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RewriteAction
impl Send for RewriteAction
impl Sync for RewriteAction
impl Unpin for RewriteAction
impl UnwindSafe for RewriteAction
Blanket Implementations
Mutably borrows from an owned value. Read more