18 using System.Collections.Generic;
20 using System.Collections;
21 using System.Collections.ObjectModel;
22 using System.Diagnostics;
23 using System.Reflection;
25 using ErrorManagement;
47 private Block statements;
57 get {
return exception; }
64 get {
return statements; }
81 this.exception = param;
82 this.statements = stats;
96 return v.Visit(
this, o);
Encapsulates a block of statements.
Encapsulates a Catch statement of our programming languages.
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
Abstract class represents a programming language statement.
IdDeclaration Exception
Gets the exception to catch
CatchStatement(IdDeclaration param, Block stats, Location location)
Constructor of CatchStatement
Encapsulates a declaration.
Location location
Location: Encapsulates in one object the line, column and filename
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Block Statements
Gets the block executed when the exception is caught.