CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Negated node NOTE: may not appear in any resulting query AST, NegatedNode are always removed and attached to a BooleanClause as MUST_NOT. More...
Public Member Functions | |
__construct ( $startOffset, $endOffset, ParsedNode $child, $negationType) | |
toArray () | |
getChild () | |
getNegationType () | |
accept (Visitor $visitor) | |
Public Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode | |
__construct ( $startOffset, $endOffset) | |
getStartOffset () | |
getEndOffset () | |
Static Public Member Functions | |
static | validNegationType ( $negationType) |
Check whether this negation type is valid. | |
Additional Inherited Members | |
Protected Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode | |
baseParams () | |
Negated node NOTE: may not appear in any resulting query AST, NegatedNode are always removed and attached to a BooleanClause as MUST_NOT.
CirrusSearch\Parser\AST\NegatedNode::__construct | ( | $startOffset, | |
$endOffset, | |||
ParsedNode | $child, | ||
$negationType ) |
int | $startOffset | |
int | $endOffset | |
ParsedNode | $child | |
string | $negationType |
CirrusSearch\Parser\AST\NegatedNode::accept | ( | Visitor | $visitor | ) |
Visitor | $visitor |
Implements CirrusSearch\Parser\AST\Visitor\Visitable.
CirrusSearch\Parser\AST\NegatedNode::getChild | ( | ) |
CirrusSearch\Parser\AST\NegatedNode::getNegationType | ( | ) |
CirrusSearch\Parser\AST\NegatedNode::toArray | ( | ) |
Reimplemented from CirrusSearch\Parser\AST\ParsedNode.
|
static |
Check whether this negation type is valid.
string | $negationType |