#[repr(C)]pub struct rbs_parser_t {
pub lexer: *mut rbs_lexer_t,
pub current_token: rbs_token_t,
pub next_token: rbs_token_t,
pub next_token2: rbs_token_t,
pub next_token3: rbs_token_t,
pub vars: *mut id_table,
pub last_comment: *mut rbs_comment_t,
pub constant_pool: rbs_constant_pool_t,
pub allocator: *mut rbs_allocator_t,
pub error: *mut rbs_error_t,
}Expand description
An RBS parser is a LL(3) parser.
Fields§
§lexer: *mut rbs_lexer_t§current_token: rbs_token_t§next_token: rbs_token_t§next_token2: rbs_token_t§next_token3: rbs_token_t§vars: *mut id_table§last_comment: *mut rbs_comment_t§constant_pool: rbs_constant_pool_t§allocator: *mut rbs_allocator_t§error: *mut rbs_error_tTrait Implementations§
Source§impl Clone for rbs_parser_t
impl Clone for rbs_parser_t
Source§fn clone(&self) -> rbs_parser_t
fn clone(&self) -> rbs_parser_t
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 rbs_parser_t
impl Debug for rbs_parser_t
impl Copy for rbs_parser_t
Auto Trait Implementations§
impl Freeze for rbs_parser_t
impl RefUnwindSafe for rbs_parser_t
impl !Send for rbs_parser_t
impl !Sync for rbs_parser_t
impl Unpin for rbs_parser_t
impl UnwindSafe for rbs_parser_t
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