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