public override AstNode ShallowClone() { var res = new AstFinally(Source, Start, End); 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; }