Example #1
0
        public override AstNode Visit(FinallyStatement node)
        {
            // Visit the children.
            VisitList(node.GetChildren());

            return node;
        }
Example #2
0
        public override AstNode Visit(FinallyStatement node)
        {
            // Begin the node.
            builder.BeginNode(node);

            // Move to the finally block.
            BasicBlock block = node.GetContext().GetCleanup();
            block.SetName("finally");
            builder.SetBlock(block);

            // Visit the children.
            node.GetChildren().Accept(this);

            return builder.EndNode();
        }