pub struct ParserRules {
pub statements_end_with: TokenTag<'static>,
pub parenthesis: bool,
}
Expand description
Dynamic parsing rules that affect how the AST is generated
Fields§
§statements_end_with: TokenTag<'static>
What should a statement end with? (;, ., !, something crazy :O)
parenthesis: bool
Should parenthesis exist in if statements, loops and function calls?
Auto Trait Implementations§
impl Freeze for ParserRules
impl RefUnwindSafe for ParserRules
impl Send for ParserRules
impl Sync for ParserRules
impl Unpin for ParserRules
impl UnwindSafe for ParserRules
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