20 using System.Collections.Generic;
24 using ErrorManagement;
26 using TypeSystem.Operations;
28 namespace TypeSystem {
59 get {
return instance; }
70 this.typeExpression =
"char";
71 this.fullName =
"char";
90 #region Assignment() ANULADA
112 #region Arithmetic() ANULADA
149 #region Relational() ANULADA
172 #region Dot() ANULADA
201 #region AsClassType()
214 #region PromotionLevel() ANULADA
260 CharType ct = te as CharType;
265 return te.Unify(
this, unification, previouslyUnified);
267 return ((FieldType)te).FieldTypeExpression.Unify(
this, unification, previouslyUnified);
272 #region IsValueType()
static CharType Instance
Gets the unique instance of CharType
override bool IsValueType()
True if type expression is a ValueType. Otherwise, false.
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
Represent a character type.
Abstract class that represents all different types.
override bool Unify(TypeExpression te, SortOfUnification unification, IList< Pair< TypeExpression, TypeExpression >> previouslyUnified)
Returns a value that indicates a promotion level.
override object AcceptOperation(TypeSystemOperation op, object arg)
override ClassType AsClassType()
Check if the type can make an assignment operation.