示例#1
0
 /// <inheritdoc />
 public void VisitScopeBlock(ScopeBlock <TInstruction> block)
 {
     _listener.EnterScopeBlock(block);
     foreach (var innerBlock in block.Blocks)
     {
         innerBlock.AcceptVisitor(this);
     }
     _listener.ExitScopeBlock(block);
 }
示例#2
0
        /// <inheritdoc />
        public void VisitScopeBlock(ScopeBlock <TInstruction> block)
        {
            _listener.EnterScopeBlock(block);
            for (int i = 0; i < block.Blocks.Count; i++)
            {
                block.Blocks[i].AcceptVisitor(this);
            }

            _listener.ExitScopeBlock(block);
        }