예제 #1
0
파일: TryStmt.cs 프로젝트: ruo2012/peachpie
        public TryStmt(Text.Span p, IList <Statement> /*!*/ statements, List <CatchItem> catches, FinallyItem finallyItem)
            : base(p)
        {
            Debug.Assert(statements != null);

            this.statements  = statements.AsArray();
            this.catches     = catches.AsArray();
            this.finallyItem = finallyItem;
        }
예제 #2
0
 /// <summary>
 /// Visit <see cref="FinallyItem"/>.
 /// </summary>
 virtual public void VisitFinallyItem(FinallyItem x)
 {
     VisitStatements(x.Statements);
 }