| Package | flare.query |
| Class | public class Not |
| Inheritance | Not Expression |
| Property | Defined by | ||
|---|---|---|---|
| clause : Expression
The sub-expression clause to negate.
| Not | ||
| numChildren : int [read-only]
The number of sub-expressions that are children of this expression.
| Not | ||
| Method | Defined by | ||
|---|---|---|---|
|
Not(clause:*)
Creates a new Not operator.
| Not | ||
|
Creates a cloned copy of the expression.
| Not | ||
|
eval(o:Object = null):*
Evaluates this expression with the given input object.
| Not | ||
![]() |
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.
| Not | ||
|
predicate(o:Object):Boolean
Boolean predicate that tests the output of evaluating this
expression.
| Not | ||
|
setChildAt(idx:int, expr:Expression):Boolean
Set the sub-expression at the given index.
| Not | ||
|
toString():String
Returns a string representation of the expression.
| Not | ||
![]() |
visit(f:Function):Boolean
Sequentially invokes the input function on this expression and all
sub-expressions.
| Expression | |
| clause | property |
clause:Expression [read-write]The sub-expression clause to negate.
Implementation public function get clause():Expression
public function set clause(value:Expression):void
| numChildren | property |
numChildren:int [read-only]The number of sub-expressions that are children of this expression.
Implementation public function get numChildren():int
| Not | () | constructor |
public function Not(clause:*)Creates a new Not operator.
Parametersclause:* — the sub-expression clause to negate
|
| 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
|
| getChildAt | () | method |
public override function getChildAt(idx:int):ExpressionReturns the sub-expression at the given index.
Parametersidx:int — the index of the child sub-expression
|
Expression —
the requested sub-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
|
| setChildAt | () | method |
public override function setChildAt(idx:int, expr:Expression):BooleanSet the sub-expression at the given index.
Parametersidx:int — the index of the child sub-expression
|
|
expr:Expression — the sub-expression to set
|
Boolean — true if the the sub-expression was successfully set,
false otherwise
|
| toString | () | method |
public override function toString():StringReturns a string representation of the expression.
ReturnsString — this expression as a string value
|