This commit is contained in:
greg 2019-11-13 18:45:24 -08:00
parent ad385d2f4f
commit 5bbbcfa676

View File

@ -46,6 +46,8 @@ pub enum VisitorOutput<T, E> {
Err(E)
}
//TODO - cf. the example about "Tree Construction Visitors", every enum type needs its own Visitor
//trait
pub trait ExpressionVisitor {
type Output;
fn type_anno(&mut self, _anno: &TypeIdentifier) -> Self::Output;