/// <summary> /// Constructor. /// </summary> /// <param name="access">Modus d'acces.</param> /// <param name="arguments">Llista d'argument.</param> /// <param name="initializers">llista d'inicialitzadors.</param> /// <param name="statements">Llista d'instruccions.</param> /// public ConstructorDeclaration(AccessSpecifier access, ArgumentDeclarationList arguments, ConstructorInitializerList initializers, StatementList statements) : this(access, arguments, initializers, new BlockStatement(statements)) { }
/// <summary> /// Constructor. /// </summary> /// <param name="access">El modus d'acces.</param> /// <param name="implementation">Tipus d'implementacio.</param> /// <param name="statements">La llista d'instruccions.</param> /// public DestructorDeclaration(AccessSpecifier access, ImplementationSpecifier implementation, StatementList statements) : this(access, implementation, new BlockStatement(statements)) { }
/// <summary> /// Constructor. /// </summary> /// <param name="name">El nom.</param> /// <param name="access">Especificador d'acces.</param> /// <param name="returnType">El tipus de retorn.</param> /// <param name="arguments">Llista d'arguments.</param> /// <param name="statements">La llista d'instruccions.</param> /// public FunctionDeclaration(string name, AccessSpecifier access, TypeIdentifier returnType, ArgumentDeclarationList arguments, StatementList statements) : this(name, access, returnType, arguments, new BlockStatement(statements)) { }