Class: SearchCopGrammar::Nodes::MatchesFulltext
- Inherits:
-
Binary
- Object
- Binary
- SearchCopGrammar::Nodes::MatchesFulltext
show all
- Includes:
- Base
- Defined in:
- lib/search_cop_grammar/nodes.rb
Instance Attribute Summary
Attributes inherited from Binary
#left, #right
Instance Method Summary
collapse
Methods included from Base
#and, #can_flatten?, #can_group?, #can_optimize?, #flatten!, #group!, #nodes, #optimize!, #or
Methods inherited from Binary
#initialize
Instance Method Details
#collection ⇒ Object
108
109
110
|
# File 'lib/search_cop_grammar/nodes.rb', line 108
def collection
left
end
|
#finalize! ⇒ Object
104
105
106
|
# File 'lib/search_cop_grammar/nodes.rb', line 104
def finalize!
FulltextExpression.new collection, self
end
|
#fulltext? ⇒ Boolean
100
101
102
|
# File 'lib/search_cop_grammar/nodes.rb', line 100
def fulltext?
true
end
|
#not ⇒ Object
96
97
98
|
# File 'lib/search_cop_grammar/nodes.rb', line 96
def not
MatchesFulltextNot.new left, right
end
|