18 using System.Collections.Generic;
22 using ErrorManagement;
41 private char charValue;
52 get {
return charValue; }
68 this.charValue = charLiteral;
83 return v.Visit(
this, o);
Abstract class encapsulate a programming language expression.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
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.
char CharValue
Gets the character value
CharLiteralExpression(char charLiteral, Location location)
Constructor of CharLiteralExpression
Location location
Location: Encapsulates in one object the line, column and filename