[][src]Trait xasm::compile::Compile

pub trait Compile: Target {
    const BUILD_DIR_NAME: &'static str;
    const PRELUDE: &'static str;
    const TERMINATE: &'static str;

    fn compile_subcommand(
        compiled: &str,
        dependeny_paths: Vec<&str>,
        output_path: &str
    ) -> Result<(), String>;
fn run_subcommand(
        compiled: &str,
        dependeny_paths: Vec<&str>
    ) -> Result<(), String>;
fn build(compiled: &str, dependeny_paths: Vec<&str>) -> Result<(), String>; fn assemble(script: &str) -> Result<String, String>
    where
        Self: Sized
, { ... }
fn home_dir() -> Result<String, String> { ... }
fn build_dir() -> Result<String, String> { ... } }

Associated Constants

const BUILD_DIR_NAME: &'static str

const PRELUDE: &'static str

const TERMINATE: &'static str

Loading content...

Required methods

fn compile_subcommand(
    compiled: &str,
    dependeny_paths: Vec<&str>,
    output_path: &str
) -> Result<(), String>

fn run_subcommand(
    compiled: &str,
    dependeny_paths: Vec<&str>
) -> Result<(), String>

fn build(compiled: &str, dependeny_paths: Vec<&str>) -> Result<(), String>

Loading content...

Provided methods

fn assemble(script: &str) -> Result<String, String> where
    Self: Sized

fn home_dir() -> Result<String, String>

fn build_dir() -> Result<String, String>

Loading content...

Implementations on Foreign Types

impl Compile for Golang[src]

impl Compile for Rust[src]

Loading content...

Implementors

Loading content...