chisel::session_source

Function parse_fragment

Source
pub fn parse_fragment(
    solc: Solc,
    config: SessionSourceConfig,
    buffer: &str,
) -> Option<ParseTreeFragment>
Expand description

Parses a fragment of solidity code with solang_parser and assigns it a scope within the SessionSource.