slang_solidity 1.3.2

A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages.
Documentation
1
2
3
4
5
6
use crate::backend::ir::ir1_structured_ast::{builder, SourceUnit};
use crate::compilation::File;

pub fn run_file(file: &File) -> Option<SourceUnit> {
    builder::build_source_unit(file.tree())
}