StringLengthRangeHint class final

String length bounds, e.g. from string-length(.) <= 10. Port of StringLengthRangeHint.

Inheritance

Constructors

StringLengthRangeHint()
Creates a hint with no bounds yet.

Properties

hashCode → int
The hash code for this object.
no setterinherited
max → StringValue?
The maximum, or null if none.
no setterinherited
maxInclusive ↔ bool
Whether the maximum itself is allowed.
getter/setter pairinherited
min → StringValue?
The minimum, or null if none.
no setterinherited
minInclusive ↔ bool
Whether the minimum itself is allowed.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → double
The probing step.
no setteroverride

Methods

castToValue(double value) → StringValue
The answer for a probed value.
override
init(EvaluationContext context, XPathExpression constraint, FormInstance instance) → void
Analyses constraint (evaluated with context, whose context node is the question) against instance. Throws UnpivotableExpressionException if it can't.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited