Remove syn::vm::pass

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-01-27 18:40:33 -05:00
parent a5bd09d7d6
commit ae32403d1f

View File

@@ -1,19 +0,0 @@
use crate::vm::syn::ast::*;
pub trait Pass<In> {
type Out;
fn pass(self, inval: In) -> Self::Out;
}
/// Confirms the instructions and their validity.
pub struct InstPass {
}
impl Pass<Vec<Line>> for InstPass {
type Out = Vec<Line>;
fn pass(self, inval: Vec<Line>) -> Self::Out {
inval
}
}