예제 #1
0
        bool visitLeave(ProgramBlock programBlock)
        {
            Console.WriteLine("LEAVE - ProgramBlock");
            scopes.Dequeue();

            return true;
        }
예제 #2
0
        bool visitEnter(ProgramBlock programBlock)
        {
            Console.WriteLine("ENTER - ProgramBlock");

            scopes.Enqueue(new Scope(scopes.First()));

            return true;
        }
예제 #3
0
 public Program(ProgramBlock block) : base(block.token)
 {
     this.block = block;
 }
예제 #4
0
 public bool visitEnter(ProgramBlock programBlock)
 {
     return true;
 }
예제 #5
0
 public bool visitLeave(ProgramBlock programBlock)
 {
     return true;
 }