Esempio n. 1
0
 public override X Accept <X, Y>(TreeVisitor <X, Y> visitor, TreeDecomposer <X, Y> decomposer)
 {
     return(visitor.VisitNode(this, decomposer.Decompose(visitor, Left), decomposer.Decompose(visitor, Right)));
 }
Esempio n. 2
0
 public abstract X Accept <X, Y>(TreeVisitor <X, Y> visitor, TreeDecomposer <X, Y> decomposer);
Esempio n. 3
0
 public override X Accept <X, Y>(TreeVisitor <X, Y> visitor, TreeDecomposer <X, Y> decomposer)
 {
     return(visitor.VisitLeaf());
 }