XPathCmpExpr class final

a < b, a > b, a <= b, a >= b.

Inheritance

Constructors

XPathCmpExpr(CmpOp op, XPathExpression a, XPathExpression b)
Creates a op b.
const

Properties

a → XPathExpression
Left operand.
finalinherited
b → XPathExpression
Right operand.
finalinherited
hashCode → int
Hash of toString, as in JavaRosa.
no setterinherited
isIdempotent → bool
Whether evaluating this expression twice in the same form state always gives the same result (used to cache predicate results).
no setterinherited
op → CmpOp
The operator.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

containsFunc(String name) → bool
Whether this expression calls the function named name anywhere.
inherited
eval(DataInstance? model, EvaluationContext context) → Object
Evaluates against model (usually the context's main instance) in context. The result is a bool, double, String, DateTime, XPathNodeset or a value returned by a custom function.
override
evalIn(EvaluationContext context) → Object
Evaluates against context's main instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pivot(DataInstance? model, EvaluationContext context, List<Object> pivots, Object sentinel) → Object?
A comparison of the node with a number yields a CmpPivot.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
Structural equality, matching JavaRosa's equals.
inherited