Class: Chelsy::Operator::Binary
- Defined in:
- lib/chelsy/ast.rb
Direct Known Subclasses
Add, And, Assign, AssignAdd, AssignBitwiseAnd, AssignBitwiseLeftRight, AssignBitwiseLeftShift, AssignBitwiseOr, AssignBitwiseXor, AssignDiv, AssignMul, AssignRem, AssignSub, BitwiseAnd, BitwiseLeftShift, BitwiseOr, BitwiseRightShift, BitwiseXor, Comma, Div, Equal, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, Mul, NotEqual, Or, Rem, Sub
Instance Attribute Summary collapse
-
#lhs ⇒ Object
readonly
Returns the value of attribute lhs.
-
#rhs ⇒ Object
readonly
Returns the value of attribute rhs.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(lhs, rhs, **rest) ⇒ Binary
constructor
A new instance of Binary.
Methods inherited from Base
Constructor Details
Instance Attribute Details
#lhs ⇒ Object (readonly)
Returns the value of attribute lhs.
564 565 566 |
# File 'lib/chelsy/ast.rb', line 564 def lhs @lhs end |
#rhs ⇒ Object (readonly)
Returns the value of attribute rhs.
564 565 566 |
# File 'lib/chelsy/ast.rb', line 564 def rhs @rhs end |