Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace CirrusSearch\Parser\AST\Visitor; |
4 | |
5 | use CirrusSearch\Parser\AST\BooleanClause; |
6 | use CirrusSearch\Parser\AST\EmptyQueryNode; |
7 | use CirrusSearch\Parser\AST\FuzzyNode; |
8 | use CirrusSearch\Parser\AST\KeywordFeatureNode; |
9 | use CirrusSearch\Parser\AST\NamespaceHeaderNode; |
10 | use CirrusSearch\Parser\AST\NegatedNode; |
11 | use CirrusSearch\Parser\AST\ParsedBooleanNode; |
12 | use CirrusSearch\Parser\AST\PhrasePrefixNode; |
13 | use CirrusSearch\Parser\AST\PhraseQueryNode; |
14 | use CirrusSearch\Parser\AST\PrefixNode; |
15 | use CirrusSearch\Parser\AST\WildcardNode; |
16 | use CirrusSearch\Parser\AST\WordsQueryNode; |
17 | |
18 | /** |
19 | * AST Visitor |
20 | */ |
21 | interface Visitor { |
22 | |
23 | /** |
24 | * @param ParsedBooleanNode $node |
25 | */ |
26 | public function visitParsedBooleanNode( ParsedBooleanNode $node ); |
27 | |
28 | /** |
29 | * @param BooleanClause $clause |
30 | */ |
31 | public function visitBooleanClause( BooleanClause $clause ); |
32 | |
33 | /** |
34 | * @param WordsQueryNode $node |
35 | */ |
36 | public function visitWordsQueryNode( WordsQueryNode $node ); |
37 | |
38 | /** |
39 | * @param PhraseQueryNode $node |
40 | */ |
41 | public function visitPhraseQueryNode( PhraseQueryNode $node ); |
42 | |
43 | /** |
44 | * @param PhrasePrefixNode $node |
45 | */ |
46 | public function visitPhrasePrefixNode( PhrasePrefixNode $node ); |
47 | |
48 | /** |
49 | * @param NegatedNode $node |
50 | */ |
51 | public function visitNegatedNode( NegatedNode $node ); |
52 | |
53 | /** |
54 | * @param FuzzyNode $node |
55 | */ |
56 | public function visitFuzzyNode( FuzzyNode $node ); |
57 | |
58 | /** |
59 | * @param PrefixNode $node |
60 | */ |
61 | public function visitPrefixNode( PrefixNode $node ); |
62 | |
63 | /** |
64 | * @param WildcardNode $node |
65 | */ |
66 | public function visitWildcardNode( WildcardNode $node ); |
67 | |
68 | /** |
69 | * @param EmptyQueryNode $node |
70 | */ |
71 | public function visitEmptyQueryNode( EmptyQueryNode $node ); |
72 | |
73 | /** |
74 | * @param KeywordFeatureNode $node |
75 | */ |
76 | public function visitKeywordFeatureNode( KeywordFeatureNode $node ); |
77 | |
78 | /** |
79 | * @param NamespaceHeaderNode $node |
80 | */ |
81 | public function visitNamespaceHeader( NamespaceHeaderNode $node ); |
82 | } |