pub struct Parser { /* private fields */ }
Implementations§
Source§impl Parser
impl Parser
pub fn parse_primary_expr(&mut self, ctx: &Context) -> Result<ExprNode>
pub fn parse_fact_expr(&mut self, ctx: &Context) -> Result<ExprNode>
pub fn parse_term(&mut self, ctx: &Context) -> Result<ExprNode>
pub fn parse_expr0(&mut self, ctx: &Context) -> Result<ExprNode>
pub fn parse_expr(&mut self, ctx: &Context) -> Result<ExprNode>
pub fn parse_chain_expr(&mut self, ctx: &Context) -> Result<ExprNode>
Source§impl Parser
impl Parser
pub fn parse_simple_type(&mut self) -> Result<Type>
pub fn parse_type(&mut self) -> Result<Type>
Source§impl Parser
impl Parser
pub fn parse_match_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_if_let_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_if_const_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_var_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_val_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_while_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_if_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_for_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
pub fn parse_stmt(&mut self, ctx: &Context) -> Result<StmtNode>
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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