Parentheses
com.phasmidsoftware.number.expression.parse.ExpressionParser.Parentheses
case class Parentheses(e: ExpressionParser.this.Expr) extends Factor
Encapsulates an expression within parentheses. This class is used to enforce precedence in mathematical or logical expressions by ensuring that the enclosed expression is evaluated as a single unit.
The Parentheses class extends Factor and wraps an Expr instance, delegating evaluation and rendering tasks to the underlying expression.
Value parameters
- e
-
the expression encapsulated within the parentheses
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article