Example #1
0
        public override void visit(Let let)
        {
            for (int i = 0; i < depth * 2; i++)
            {
                sw.Write(" ");
            }
            depth++;
            sw.WriteLine("_let (" + let.name + ") : " + let.type);

            let.init.accept(this);
            let.body.accept(this);

            depth--;
        }
Example #2
0
 public abstract void visit(Let let);
Example #3
0
 public override void visit(Let let)
 {
     let.init.accept(this);
     let.body.accept(this);
 }