IntervalLiteral.fromSingle constructor

IntervalLiteral.fromSingle(
  1. Expression exp
)

Creates a new interval with identical bounds.

Implementation

IntervalLiteral.fromSingle(Expression exp)
    : this.min = exp,
      this.max = exp;