sva-ast 0.6.0

The document model for a composition
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Concern: names a path a load found beside the nodes and read nothing from | Non-concern: finding one (dir.rs), reporting one (sva-cli's lint.rs) | IO: none

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Skipped {
    pub path: String,
    pub reason: Skip,
}

#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Skip {
    /// No ref can spell the path, so nothing can name what it holds.
    Unnameable,
    /// A socket, FIFO or device file, which holds no text to read at all.
    Special,
}