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