Enum lib_ruby_parser::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 RewriteActionimpl Send for RewriteActionimpl Sync for RewriteActionimpl Unpin for RewriteActionimpl UnwindSafe for RewriteAction