Example #1
0
        public override AstNode ShallowClone()
        {
            var res = new AstFinally(Source, Start, End);

            res.Body.AddRange(Body.AsReadOnlySpan());
            return(res);
        }
Example #2
0
 public AstTry(Parser parser, Position startPos, Position endPos, ref StructList <AstNode> body, AstCatch bcatch,
               AstFinally bfinally) : base(parser, startPos, endPos, ref body)
 {
     Bcatch   = bcatch;
     Bfinally = bfinally;
 }