pub struct LexFlags {
pub zle: bool,
pub newline: bool,
pub comments_keep: bool,
pub comments_strip: bool,
pub active: bool,
}Expand description
Lexer flags controlling behavior
Fields§
§zle: boolParsing for ZLE (line editor) completion
newline: boolReturn newlines as tokens
comments_keep: boolPreserve comments in output
comments_strip: boolStrip comments from output
active: boolActive lexing (from bufferwords)
Trait Implementations§
impl Copy for LexFlags
Auto Trait Implementations§
impl Freeze for LexFlags
impl RefUnwindSafe for LexFlags
impl Send for LexFlags
impl Sync for LexFlags
impl Unpin for LexFlags
impl UnsafeUnpin for LexFlags
impl UnwindSafe for LexFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more