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