Struct protoflow_syntax::SystemParser 
source · pub struct SystemParser { /* private fields */ }Implementations§
source§impl SystemParser
 
impl SystemParser
pub fn from_file(pathname: impl AsRef<Path>) -> AnalysisResult<Self>
pub fn from_reader(reader: impl Read) -> AnalysisResult<Self>
pub fn from_string(&mut self, input: &str) -> AnalysisResult<Self>
pub fn check(&mut self) -> AnalysisResult<&ParsedModel>
pub fn check_usage( &mut self, member: &ParsedMember, ) -> Result<(), AnalysisError>
pub fn check_block_usage( &mut self, _member: &ParsedBlock, ) -> Result<(), AnalysisError>
Trait Implementations§
source§impl Debug for SystemParser
 
impl Debug for SystemParser
source§impl Default for SystemParser
 
impl Default for SystemParser
source§fn default() -> SystemParser
 
fn default() -> SystemParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemParser
impl RefUnwindSafe for SystemParser
impl Send for SystemParser
impl Sync for SystemParser
impl Unpin for SystemParser
impl UnwindSafe for SystemParser
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