18 using System.Collections.Generic;
23 using ErrorManagement;
57 get {
return this.getBlock; }
65 get {
return this.setBlock; }
83 : base(id, type, location)
101 return v.Visit(
this, o);
Statement GetBlock
Gets the statements associated to the get accessor.
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.
Encapsulates a identifier expression of our programming language.
PropertyDefinition(SingleIdentifierExpression id, string type, Statement get, Statement set, Location location)
Constructor of Definition.
Encapsulates a declaration.
Location location
Location: Encapsulates in one object the line, column and filename
Statement SetBlock
Gets the statements associated to the set accessor.
Encapsulates a property definition.