Ejemplo n.º 1
0
        public override AstNode Visit(LockStatement node)
        {
            // Push the scope.
            PushScope(node.GetScope());

            // Visit the children.
            VisitList(node.GetChildren());

            // Pop the scope.
            PopScope();

            return node;
        }
Ejemplo n.º 2
0
        public override AstNode Visit(LockStatement node)
        {
            // Begin the node.
            builder.BeginNode(node);

            // Push the scope.
            PushScope(node.GetScope());

            // Visit the children.
            VisitList(node.GetChildren());

            // Pop the scope.
            PopScope();

            return builder.EndNode();
        }