Class: SearchCopGrammar::Nodes::FulltextExpression
- Inherits:
-
Object
- Object
- SearchCopGrammar::Nodes::FulltextExpression
- Includes:
- Base
- Defined in:
- lib/search_cop_grammar/nodes.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(collection, node) ⇒ FulltextExpression
constructor
A new instance of FulltextExpression.
Methods included from Base
#and, #can_flatten?, #can_group?, #can_optimize?, #finalize!, #flatten!, #fulltext?, #group!, #nodes, #not, #optimize!, #or
Constructor Details
#initialize(collection, node) ⇒ FulltextExpression
Returns a new instance of FulltextExpression.
120 121 122 123 |
# File 'lib/search_cop_grammar/nodes.rb', line 120 def initialize(collection, node) @collection = collection @node = node end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
118 119 120 |
# File 'lib/search_cop_grammar/nodes.rb', line 118 def collection @collection end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
118 119 120 |
# File 'lib/search_cop_grammar/nodes.rb', line 118 def node @node end |