Class: GitlabZOQL::Parser::Statement::ComparisonPredicate
- Defined in:
- lib/gitlab-zoql/parser/statement.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ ComparisonPredicate
constructor
A new instance of ComparisonPredicate.
Methods inherited from Node
Constructor Details
#initialize(left, right) ⇒ ComparisonPredicate
Returns a new instance of ComparisonPredicate.
91 92 93 94 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 91 def initialize(left, right) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
96 97 98 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 96 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
96 97 98 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 96 def right @right end |