18 using System.Collections.Generic;
22 using ErrorManagement;
41 private double doubleValue;
52 get {
return doubleValue; }
62 System.Globalization.NumberFormatInfo nfi =
new System.Globalization.NumberFormatInfo();
63 nfi.NumberDecimalSeparator =
".";
64 return Convert.ToString(this.doubleValue, nfi);
82 this.doubleValue = doubleLiteral;
97 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.
double DoubleValue
Gets the double value
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.
DoubleLiteralExpression(double doubleLiteral, Location location)
Constructor of DoubleLiteralExpression
string ILValue
Gets the double value in string form
Encapsulates a string literal expression.
Location location
Location: Encapsulates in one object the line, column and filename