Example #1
0
        public TryStmt(Position p, List <Statement> /*!*/ statements, List <CatchItem> catches, FinallyItem finallyItem)
            : base(p)
        {
            Debug.Assert(statements != null);

            this.statements  = statements;
            this.catches     = catches;
            this.finallyItem = finallyItem;
        }
Example #2
0
        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;
		}
Example #3
0
        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;
        }
Example #4
0
        public TryStmt(Position p, List<Statement>/*!*/ statements, List<CatchItem> catches, FinallyItem finallyItem)
			: base(p)
		{
            Debug.Assert(statements != null);
            
			this.statements = statements;
			this.catches = catches;
            this.finallyItem = finallyItem;
		}
Example #5
0
 /// <summary>
 /// Visit <see cref="FinallyItem"/>.
 /// </summary>
 virtual public void VisitFinallyItem(FinallyItem x)
 {
     VisitStatementList(x.Statements);
 }
Example #6
0
 /// <summary>
 /// Visit <see cref="FinallyItem"/>.
 /// </summary>
 virtual public void VisitFinallyItem(FinallyItem x)
 {
     VisitStatements(x.Statements);
 }