Example #1
0
        public override UstNode VisitBlock(BlockSyntax node)
        {
            var statements = node.Statements.Select(s => (Statement)VisitAndReturnNullIfError(s))
                             .ToList();
            var result = new BlockStatement(statements, node.GetTextSpan(), FileNode);

            return(result);
        }