pub struct CortexParser;
Implementations§
Source§impl CortexParser
impl CortexParser
pub fn parse_statement(input: &str) -> Result<PStatement, ParseError>
pub fn parse_expression(input: &str) -> Result<PExpression, ParseError>
pub fn parse_type(input: &str) -> Result<CortexType, ParseError>
pub fn parse_function(input: &str) -> Result<PFunction, ParseError>
pub fn parse_struct(input: &str) -> Result<Struct, ParseError>
pub fn parse_bundle(input: &str) -> Result<Bundle, ParseError>
pub fn parse_top_level(input: &str) -> Result<TopLevel, ParseError>
pub fn parse_path(input: &str) -> Result<PathIdent, ParseError>
pub fn parse_program(input: &str) -> Result<Program, ParseError>
Auto Trait Implementations§
impl Freeze for CortexParser
impl RefUnwindSafe for CortexParser
impl Send for CortexParser
impl Sync for CortexParser
impl Unpin for CortexParser
impl UnwindSafe for CortexParser
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