示例#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;
        }
示例#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;
		}
示例#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;
        }
示例#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;
		}
示例#5
0
 /// <summary>
 /// Visit <see cref="FinallyItem"/>.
 /// </summary>
 virtual public void VisitFinallyItem(FinallyItem x)
 {
     VisitStatementList(x.Statements);
 }
示例#6
0
 /// <summary>
 /// Visit <see cref="FinallyItem"/>.
 /// </summary>
 virtual public void VisitFinallyItem(FinallyItem x)
 {
     VisitStatements(x.Statements);
 }