necessist-backends 1.0.1

necessist-backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
use solang_parser::pt::SourceUnit;

pub struct Storage<'ast> {
    pub contents: &'ast str,
}

impl<'ast> Storage<'ast> {
    pub fn new(file: &'ast (String, SourceUnit)) -> Self {
        Self { contents: &file.0 }
    }
}