18 using System.Collections.Generic;
22 using ErrorManagement;
52 get {
return throwExpression; }
68 this.throwExpression = throwExp;
83 return v.Visit(
this, o);
Abstract class encapsulate a programming language expression.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
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.
Expression ThrowExpression
Gets the throw expression.
ThrowStatement(Expression throwExp, Location location)
Constructor of ThrowStatement
Location location
Location: Encapsulates in one object the line, column and filename
Encapsulates a Throw statement of our programming languages.