18 using System.Collections.Generic;
23 using ErrorManagement;
49 : base(id, init, type, mods, location)
65 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.
Encapsulates a constant field definition.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Encapsulates a identifier expression of our programming language.
ConstantFieldDefinition(SingleIdentifierExpression id, string type, Expression init, List< Modifier > mods, Location location)
Constructor of ConstantFieldDefinition.
Location location
Location: Encapsulates in one object the line, column and filename