18 using System.Collections.Generic;
23 using ErrorManagement;
52 private string typeId;
63 get {
return this.expr; }
64 set { this.expr = value; }
72 get {
return this.type; }
73 set { this.type = value; }
81 get {
return this.typeId; }
99 this.expr = expression;
115 return v.Visit(
this, o);
Abstract class encapsulate a programming language 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.
Abstract class that represents all different types.
string TypeId
Gets the type identifier to check with the expression.
Encapsulates a Is expression.
TypeExpression TypeExpr
Gets the type to check with the expression.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
IsExpression(Expression expression, string type, Location loc)
Constructor of IsExpression