macro_rules! vyper {
($p1: expr) => { ... };
($($p1: expr),+) => { ... };
}Expand description
The vyper! macro is used to construct the Vyper type without the boilerplate. If there is
more than one pair of literals passed into the macro, the macro will return a Vypers.
Input: any length sequence of expressions that evaluate to a Path.
use vyper_rs::vyper::*;
use vyper_rs::*;
use std::path::{PathBuf, Path};
use vyper_rs::vyper_errors::VyperErrors;
fn try_me() -> Result<(), VyperErrors> {
let _: Vyper = vyper!("./multisig.vy");
let _: Vypers = vyper!("./multisig.vy", "./multisig.vy");
Ok(())
}