CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Parser\AST\WordsQueryNode Class Reference

Simple query node made of words. More...

+ Inheritance diagram for CirrusSearch\Parser\AST\WordsQueryNode:
+ Collaboration diagram for CirrusSearch\Parser\AST\WordsQueryNode:

Public Member Functions

 __construct ( $startOffset, $endOffset, $words)
 
 toArray ()
 
 getWords ()
 
 accept (Visitor $visitor)
 
- Public Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode
 __construct ( $startOffset, $endOffset)
 
 getStartOffset ()
 
 getEndOffset ()
 

Additional Inherited Members

- Protected Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode
 baseParams ()
 

Detailed Description

Simple query node made of words.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Parser\AST\WordsQueryNode::__construct ( $startOffset,
$endOffset,
$words )
Parameters
int$startOffset
int$endOffset
string$words

Member Function Documentation

◆ accept()

CirrusSearch\Parser\AST\WordsQueryNode::accept ( Visitor $visitor)
Parameters
Visitor$visitor

Implements CirrusSearch\Parser\AST\Visitor\Visitable.

◆ getWords()

CirrusSearch\Parser\AST\WordsQueryNode::getWords ( )
Returns
string

◆ toArray()

CirrusSearch\Parser\AST\WordsQueryNode::toArray ( )
Returns
array

Reimplemented from CirrusSearch\Parser\AST\ParsedNode.


The documentation for this class was generated from the following file: