Add note
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user