| Package | flare.query |
| Class | public class Xor |
| Inheritance | Xor CompositeExpression Expression |
| Method | Defined by | ||
|---|---|---|---|
|
Xor(... clauses)
Creates a new Xor operator.
| Xor | ||
![]() |
addChild(expr:Expression):void
Adds an additional sub-expression to this composite.
| CompositeExpression | |
|
Creates a cloned copy of the expression.
| Xor | ||
|
eval(o:Object = null):*
Evaluates this expression with the given input object.
| Xor | ||
![]() |
expr(o:*):Expression
[static]
Utility method that maps an input value into an Expression.
| Expression | |
![]() |
getChildAt(idx:int):Expression
Returns the sub-expression at the given index.
| CompositeExpression | |
|
predicate(o:Object):Boolean
Boolean predicate that tests the output of evaluating this
expression.
| Xor | ||
![]() |
removeAllChildren():void
Removes all sub-expressions from this composite.
| CompositeExpression | |
![]() |
removeChild(expr:Expression):Boolean
Removes a sub-expression from this composite.
| CompositeExpression | |
![]() |
setChildAt(idx:int, expr:Expression):Boolean
Set the sub-expression at the given index.
| CompositeExpression | |
![]() |
setChildren(array:Array):void
Sets the sub-expressions of this composite
| CompositeExpression | |
|
toString():String
Returns a string representation of the expression.
| Xor | ||
![]() |
visit(f:Function):Boolean
Sequentially invokes the input function on this expression and all
sub-expressions.
| Expression | |
| Xor | () | constructor |
public function Xor(... clauses)Creates a new Xor operator.
Parameters... clauses — the sub-expression clauses
|
| clone | () | method |
public override function clone():ExpressionCreates a cloned copy of the expression. Recursively clones any sub-expressions.
ReturnsExpression —
the cloned expression.
|
| eval | () | method |
public override function eval(o:Object = null):*Evaluates this expression with the given input object.
Parameterso:Object (default = null) — the input object to this expression
|
* — the result of evaluating the expression
|
| predicate | () | method |
public override function predicate(o:Object):BooleanBoolean predicate that tests the output of evaluating this expression. Returns true if the expression evaluates to true, or a non-null or non-zero value. Returns false if the expression evaluates to false, or a null or zero value.
Parameterso:Object — the input object to this expression
|
Boolean — the Boolean result of evaluating the expression
|
| toString | () | method |
public override function toString():StringReturns a string representation of the expression.
ReturnsString — this expression as a string value
|