Whether the expression contains any resolvable references.
reference start with input. should be considered as non-resolvable in context of partial evaluation.
When this field is set to true, we should not attempt to evaluate this expression.
i.e. evaluate() method should return immediately.
This will speed up evaluation process.
Return term as operator string e.g. =, >= etc.
If it's a reference term, return its full string representation
If it's a reference term, return its full string representation Otherwise, throw exception
Return RegoRef instance if this term is a RegoRef.
Tried to determine the value of the term
If the term is a reference and it contains any collection lookup e.g.
If it's a operator term
If it's a reference term. A operator is an Reference term as well
The term is not only a Reference but a reference contains simple collection lookup
i.e. only contains one collection lookup and the whole ref ends with the only collection lookup
e.g. objectA.propB.collectionC[]
Note: objectA.propB.collectionC[].name is not a simple collection lookup as it resolve to single value (name property)
rather than a collection
Whether or not the RegoTerm is resolvable
{boolean}
If it's a reference term, return its string representation (not include ending [_]) Otherwise, throw exception
Generated using TypeDoc
RegoTerm represent the basic elements that creates an expressions. e.g. An expression
a > 4is made up of 3 termsa>4