19 using System.Collections.Generic;
23 using ErrorManagement;
25 using TypeSystem.Operations;
27 namespace TypeSystem {
53 get {
return instance; }
64 this.typeExpression =
"null";
65 this.fullName =
"null";
82 #region Assignment() ANULADA
107 #region Arithmetic() ANULADA
131 #region PromotionLevel() ANULADA
185 throw new NotImplementedException(
"NullType.Unify() Not implemented");
189 #region IsValueType()
209 if (obj.GetType() != typeof (
NullType))
static NullType Instance
Gets the unique instance of NullType
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
Abstract class that represents all different types.
override object AcceptOperation(TypeSystemOperation op, object arg)
override bool Unify(TypeExpression te, SortOfUnification unification, IList< Pair< TypeExpression, TypeExpression >> previouslyUnified)
<summary> // Check if the type can make an assignment operation. //
bool Equals(NullType other)
override int GetHashCode()
override bool IsValueType()
True if type expression is a ValueType. Otherwise, false.
override bool Equals(object obj)