Skip to content
On this page
class · Ruby 4.0

Prism::AndNode

< Prism::Node 13 instance methods 2 class methods

Represents the use of the && operator or the and keyword.

left and right
^^^^^^^^^^^^^^

Class methods 2

Instance methods 13

Attributes
Read

Represents the left side of the expression. It can be any non-void expression.

left and right
^^^^

1 && 2
^
Read

Represents the right side of the expression.

left && right
        ^^^^^

1 and 2
      ^