19 using System.Collections.Generic;
23 using ErrorManagement;
27 #region BitwiseOperator
105 : base(operand1, operand2, location)
122 return v.Visit(
this, o);
131 return this.op.ToString();
Encapsulates a binary expression of our programming language.
Abstract class encapsulate a programming language expression.
override string ToString()
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.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
BitwiseExpression(Expression operand1, Expression operand2, BitwiseOperator op, Location location)
Constructor of BitwiseExpression
Encapsulates a bitwise binary expression.
Location location
Location: Encapsulates in one object the line, column and filename
BitwiseOperator Operator
Gets the operator of the binary expression
BitwiseOperator
Bitwise binary operators