pub struct DotParser { /* private fields */ }Implementations§
Source§impl DotParser
impl DotParser
pub fn new(input: &str) -> Self
pub fn print_error(&self)
pub fn lex(&mut self)
pub fn parse_graph(&mut self, is_subgraph: bool) -> Result<Graph, String>
pub fn parse_stmt_list(&mut self) -> Result<StmtList, String>
pub fn parse_stmt(&mut self) -> Result<Stmt, String>
pub fn parse_attr_list(&mut self) -> Result<AttributeList, String>
pub fn parse_attribute_stmt(&mut self, id: NodeId) -> Result<AttrStmt, String>
pub fn parse_edge_stmt(&mut self, id: NodeId) -> Result<EdgeStmt, String>
pub fn parse_node_id(&mut self) -> Result<NodeId, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DotParser
impl RefUnwindSafe for DotParser
impl Send for DotParser
impl Sync for DotParser
impl Unpin for DotParser
impl UnwindSafe for DotParser
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