[][src]Trait lark_cli::build::LarkDatabaseExt

pub trait LarkDatabaseExt {
    fn display_errors(
        &self,
        out: impl WriteColor
    ) -> Result<usize, Cancelled>;
fn build(&self, output_file_name: &str) -> Result<(), Cancelled>; }

Required methods

fn display_errors(
    &self,
    out: impl WriteColor
) -> Result<usize, Cancelled>

fn build(&self, output_file_name: &str) -> Result<(), Cancelled>

Build an executable into output_file_name.

Loading content...

Implementations on Foreign Types

impl LarkDatabaseExt for LarkDatabase[src]

fn display_errors(
    &self,
    out: impl WriteColor
) -> Result<usize, Cancelled>
[src]

Displays all errors for the project on stderr. Returns Ok(n) where n is the number of errors (or Cancelled if execution is cancelled).

Loading content...

Implementors

Loading content...