pub struct FileAnalysis {
pub file: String,
pub functions: Vec<TestFunction>,
pub has_pbt_import: bool,
pub has_contract_import: bool,
pub has_error_test: bool,
pub has_relational_assertion: bool,
pub parameterized_count: usize,
}Expand description
File-level analysis result for rules that operate at file scope (T004-T008).
Language extractors MUST override extract_file_analysis() to provide
accurate has_pbt_import, has_contract_import, has_error_test,
and parameterized_count.
The default impl returns false/0 for these fields.
Fields§
§file: String§functions: Vec<TestFunction>§has_pbt_import: bool§has_contract_import: bool§has_error_test: bool§has_relational_assertion: bool§parameterized_count: usizeTrait Implementations§
Source§impl Clone for FileAnalysis
impl Clone for FileAnalysis
Source§fn clone(&self) -> FileAnalysis
fn clone(&self) -> FileAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileAnalysis
impl RefUnwindSafe for FileAnalysis
impl Send for FileAnalysis
impl Sync for FileAnalysis
impl Unpin for FileAnalysis
impl UnsafeUnpin for FileAnalysis
impl UnwindSafe for FileAnalysis
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