Skip to main content

solc_ast

Function solc_ast 

Source
pub async fn solc_ast(
    file_path: &str,
    config: &FoundryConfig,
    client: Option<&Client>,
) -> Result<Value, RunnerError>
Expand description

Run solc for a file and return normalized output.

This is the main entry point used by the LSP. Reads the file source to detect the pragma version and resolve the correct solc binary.