pub struct FileModel {
pub path: PathBuf,
pub language: LanguageId,
pub concepts: Vec<ConceptInstance>,
pub control_flow: ControlFlow,
pub error_paths: Vec<ErrorPath>,
pub generated: bool,
}Expand description
Per-file abstract model consumed by language-independent rules.
Fields§
§path: PathBuf§language: LanguageId§concepts: Vec<ConceptInstance>§control_flow: ControlFlow§error_paths: Vec<ErrorPath>§generated: boolTrue when the adapter marks the file as generated / macro-expanded only.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileModel
impl<'de> Deserialize<'de> for FileModel
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
impl Eq for FileModel
impl StructuralPartialEq for FileModel
Auto Trait Implementations§
impl Freeze for FileModel
impl RefUnwindSafe for FileModel
impl Send for FileModel
impl Sync for FileModel
impl Unpin for FileModel
impl UnsafeUnpin for FileModel
impl UnwindSafe for FileModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.