Class: Rubycc::Front::AST::LogicalAnd
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::LogicalAnd
- Defined in:
- lib/rubycc/front/ast.rb
Overview
Short-circuit "&&" and "||". Kept apart from Binary because both operands must be int-typed and only one side may end up evaluated at run time, unlike every other Binary operator.
Instance Attribute Summary collapse
-
#lhs ⇒ Object
readonly
Returns the value of attribute lhs.
-
#rhs ⇒ Object
readonly
Returns the value of attribute rhs.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#lhs ⇒ Object (readonly)
Returns the value of attribute lhs
49 50 51 |
# File 'lib/rubycc/front/ast.rb', line 49 def lhs @lhs end |
#rhs ⇒ Object (readonly)
Returns the value of attribute rhs
49 50 51 |
# File 'lib/rubycc/front/ast.rb', line 49 def rhs @rhs end |
#token ⇒ Object (readonly)
Returns the value of attribute token
49 50 51 |
# File 'lib/rubycc/front/ast.rb', line 49 def token @token end |