Class: Fluent::FilterWhere::Parser::BinaryOpExp
- Defined in:
- lib/fluent/plugin/filter_where/parser/exp.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right, operator) ⇒ BinaryOpExp
constructor
A new instance of BinaryOpExp.
Methods inherited from Exp
Constructor Details
#initialize(left, right, operator) ⇒ BinaryOpExp
Returns a new instance of BinaryOpExp.
19 20 21 22 23 |
# File 'lib/fluent/plugin/filter_where/parser/exp.rb', line 19 def initialize(left, right, operator) @left = left @right = right @operator = operator end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
14 15 16 |
# File 'lib/fluent/plugin/filter_where/parser/exp.rb', line 14 def left @left end |
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
14 15 16 |
# File 'lib/fluent/plugin/filter_where/parser/exp.rb', line 14 def operator @operator end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
14 15 16 |
# File 'lib/fluent/plugin/filter_where/parser/exp.rb', line 14 def right @right end |