Enum lib_ruby_parser::source::token_rewriter::LexStateAction [−][src]
#[repr(C)]
pub enum LexStateAction {
Set(i32),
Keep,
}
Expand description
Enum of what token rewriter should do with the state of the lexer
Variants
Set(i32)
Means “set the state to X”
Tuple Fields of Set
0: i32
Means “keep the state unchanged”
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LexStateAction
impl Send for LexStateAction
impl Sync for LexStateAction
impl Unpin for LexStateAction
impl UnwindSafe for LexStateAction
Blanket Implementations
Mutably borrows from an owned value. Read more