[][src]Trait souper_ir::parse::Parse

pub trait Parse: Sized {
    fn parse<'a>(parser: &mut Parser<'a>) -> Result<Self>;
}

A trait for AST nodes that can be parsed from text.

Required methods

fn parse<'a>(parser: &mut Parser<'a>) -> Result<Self>

Parse a Self from the given buffer.

Loading content...

Implementations on Foreign Types

impl<P> Parse for Option<P> where
    P: Peek + Parse
[src]

impl<P> Parse for Vec<P> where
    P: Peek + Parse
[src]

Loading content...

Implementors

impl Parse for AssignmentRhs[src]

impl Parse for Attribute[src]

impl Parse for Instruction[src]

impl Parse for Operand[src]

impl Parse for Replacement[src]

impl Parse for RootAttribute[src]

impl Parse for Assignment[src]

impl Parse for Block[src]

impl Parse for BlockPc[src]

impl Parse for Cand[src]

impl Parse for Constant[src]

impl Parse for Infer[src]

impl Parse for LeftHandSide[src]

impl Parse for Pc[src]

impl Parse for Phi[src]

impl Parse for RightHandSide[src]

impl Parse for Type[src]

Loading content...