pub struct LexerConfig {
pub language_level: LuaLanguageLevel,
pub non_std_symbols: LuaNonStdSymbolSet,
}Fields§
§language_level: LuaLanguageLevel§non_std_symbols: LuaNonStdSymbolSetImplementations§
Source§impl LexerConfig
impl LexerConfig
pub fn support_goto(&self) -> bool
pub fn support_complex_number(&self) -> bool
pub fn support_ll_integer(&self) -> bool
pub fn support_binary_integer(&self) -> bool
pub fn support_integer_operation(&self) -> bool
pub fn support_global_decl(&self) -> bool
Trait Implementations§
Source§impl Clone for LexerConfig
impl Clone for LexerConfig
Source§fn clone(&self) -> LexerConfig
fn clone(&self) -> LexerConfig
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 LexerConfig
impl Debug for LexerConfig
Source§impl Default for LexerConfig
impl Default for LexerConfig
Source§impl PartialEq for LexerConfig
impl PartialEq for LexerConfig
impl Copy for LexerConfig
impl Eq for LexerConfig
impl StructuralPartialEq for LexerConfig
Auto Trait Implementations§
impl Freeze for LexerConfig
impl RefUnwindSafe for LexerConfig
impl Send for LexerConfig
impl Sync for LexerConfig
impl Unpin for LexerConfig
impl UnwindSafe for LexerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more