示例#1
0
        public Try(Block block, IEnumerable <Catch> catches, Finally @finally)
        {
            Block   = block;
            Catches = catches;
            Finally = @finally;

            SetParent(Block);
            SetParent(Catches);
            SetParent(Finally);
        }
示例#2
0
        public override void VisitFinally(Finally node)
        {
            Append("finally");
            NewLine();
            Append("{");
            Indent();
            NewLine();

            node.Body.Accept(this);

            Outdent();
            Append("}");
        }