18 using System.Collections.Generic;
22 using ErrorManagement;
41 private bool boolValue;
52 get {
return boolValue; }
69 this.boolValue = boolLiteral;
84 return v.Visit(
this, o);
Abstract class encapsulate a programming language expression.
Encapsulates a boolean literal 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.
bool BoolValue
Gets the boolean value
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Location location
Location: Encapsulates in one object the line, column and filename
BoolLiteralExpression(bool boolLiteral, Location location)
Constructor of BoolLiteralExpressoin