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

Base class representing a "node" in the query AST. More...

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

Public Member Functions

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

Protected Member Functions

 baseParams ()
 

Detailed Description

Base class representing a "node" in the query AST.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Parser\AST\ParsedNode::__construct ( $startOffset,
$endOffset )
Parameters
int$startOffset(incl)
int$endOffset(excl)

Member Function Documentation

◆ baseParams()

CirrusSearch\Parser\AST\ParsedNode::baseParams ( )
protected
Returns
array

◆ getEndOffset()

CirrusSearch\Parser\AST\ParsedNode::getEndOffset ( )
Returns
int

◆ getStartOffset()

CirrusSearch\Parser\AST\ParsedNode::getStartOffset ( )
Returns
int

◆ toArray()


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