pub struct ParserTestExpected {
pub success: bool,
pub node_count: usize,
pub ast_structure: AstNodeData,
pub errors: Vec<String>,
}Expand description
Expected parser test results for comparison.
This struct represents the expected output of a parser test, including success status, node count, AST structure, and any expected errors.
Fields§
§success: bool§node_count: usize§ast_structure: AstNodeData§errors: Vec<String>Trait Implementations§
Source§impl Debug for ParserTestExpected
impl Debug for ParserTestExpected
Source§impl<'de> Deserialize<'de> for ParserTestExpected
impl<'de> Deserialize<'de> for ParserTestExpected
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParserTestExpected
impl PartialEq for ParserTestExpected
Source§impl Serialize for ParserTestExpected
impl Serialize for ParserTestExpected
impl StructuralPartialEq for ParserTestExpected
Auto Trait Implementations§
impl Freeze for ParserTestExpected
impl RefUnwindSafe for ParserTestExpected
impl Send for ParserTestExpected
impl Sync for ParserTestExpected
impl Unpin for ParserTestExpected
impl UnwindSafe for ParserTestExpected
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