@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user