pub struct ParserConfig<'cache> {
pub level: LuaLanguageLevel,
/* private fields */
}Fields§
§level: LuaLanguageLevelImplementations§
source§impl<'cache> ParserConfig<'cache>
impl<'cache> ParserConfig<'cache>
pub fn new( level: LuaLanguageLevel, node_cache: Option<&'cache mut NodeCache>, ) -> Self
pub fn lexer_config(&self) -> LexerConfig
pub fn support_local_attrib(&self) -> bool
pub fn node_cache(&mut self) -> Option<&mut NodeCache>
Trait Implementations§
Auto Trait Implementations§
impl<'cache> Freeze for ParserConfig<'cache>
impl<'cache> RefUnwindSafe for ParserConfig<'cache>
impl<'cache> Send for ParserConfig<'cache>
impl<'cache> Sync for ParserConfig<'cache>
impl<'cache> Unpin for ParserConfig<'cache>
impl<'cache> !UnwindSafe for ParserConfig<'cache>
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