public override AstNode ShallowClone() { var res = new AstCatch(Source, Start, End, Argname); res.Body.AddRange(Body.AsReadOnlySpan()); return(res); }
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; }