Function solang_parser::parse
source · pub fn parse(
src: &str,
file_no: usize
) -> Result<(SourceUnit, Vec<Comment>), Vec<Diagnostic>>
Expand description
Parses a Solidity file.
pub fn parse(
src: &str,
file_no: usize
) -> Result<(SourceUnit, Vec<Comment>), Vec<Diagnostic>>
Parses a Solidity file.