pub struct LexerOptions {
pub allow_inline_comments: bool,
pub strict_comments: bool,
}Expand description
Configuration options for the COBOL lexer.
Fields§
§allow_inline_comments: boolWhen true, COBOL-2002 inline comments (*>) are recognised.
strict_comments: boolWhen true, only column-7 indicators are treated as comment markers.
Trait Implementations§
Source§impl Clone for LexerOptions
impl Clone for LexerOptions
Source§fn clone(&self) -> LexerOptions
fn clone(&self) -> LexerOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LexerOptions
impl Debug for LexerOptions
Source§impl Default for LexerOptions
impl Default for LexerOptions
impl Copy for LexerOptions
Auto Trait Implementations§
impl Freeze for LexerOptions
impl RefUnwindSafe for LexerOptions
impl Send for LexerOptions
impl Sync for LexerOptions
impl Unpin for LexerOptions
impl UnsafeUnpin for LexerOptions
impl UnwindSafe for LexerOptions
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