18 using System.Collections.Generic;
23 using ErrorManagement;
53 get {
return this.initialization; }
61 set { this.ReturnTypeInfo = value; }
79 : base(id, stats, null, parameters, modifiers, location)
81 this.initialization = init;
96 return v.Visit(
this, o);
Encapsulates a definition of a concrete method.
Encapsulates a block of statements.
Encapsulates a invocation 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 identifier expression of our programming language.
string SetReturnType
Sets the nominal type of the return type
ConstructorDefinition(SingleIdentifierExpression id, List< Modifier > modifiers, List< Parameter > parameters, InvocationExpression init, Block stats, Location location)
Constructor of ConstructorDefinition.
Encapsulates a definition of a concrete constructor.
Location location
Location: Encapsulates in one object the line, column and filename
InvocationExpression Initialization
Gets the base or this initialization of the constructor definition