18 using System.Collections.Generic;
23 using ErrorManagement;
53 get {
return this.initialization; }
71 : base(id, type, modifiers, location)
73 this.initialization = init;
88 return v.Visit(
this, o);
Abstract class encapsulate a programming language expression.
Encapsulates a definition of a concrete field.
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.
FieldDefinition(SingleIdentifierExpression id, Expression init, string type, List< Modifier > modifiers, Location location)
Constructor of FieldDefinition.
Encapsulates a identifier expression of our programming language.
Expression Init
Gets the initialization of the field
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.
Encapsulates a declaration of a concrete field.