19 using System.Collections.Generic;
23 using ErrorManagement;
25 using TypeSystem.Operations;
27 namespace TypeSystem {
58 get {
return instance; }
69 this.typeExpression =
"double";
70 this.fullName =
"double";
86 #region Assignment() ANULADA
108 #region Arithmetic() ANULADA
145 #region Relational()ANULADA
166 #region Dot() ANULADA
195 #region AsClassType()
209 #region PromotionLevel() ANULADA
250 DoubleType dt = te as DoubleType;
255 return te.Unify(
this, unification, previouslyUnified);
257 return ((FieldType)te).FieldTypeExpression.Unify(
this, unification, previouslyUnified);
277 #region IsValueType()
override bool Unify(TypeExpression te, SortOfUnification unification, IList< Pair< TypeExpression, TypeExpression >> previouslyUnified)
This method unifies two type expressions (this and te)
static DoubleType Instance
Gets the unique instance of DoubleType
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
override ClassType AsClassType()
Represent a type as a class. It is mainly used to obtain the BCL representation of types (string=Stri...
override bool IsValueType()
True if type expression is a ValueType. Otherwise, false.
Abstract class that represents all different types.
Represents a double type.
override object AcceptOperation(TypeSystemOperation op, object arg)
override string ILType()
Gets the string type to use in IL code.