Skip to content
On this page
class · Ruby 4.0

Prism::PinnedExpressionNode

< Prism::Node 19 instance methods 2 class methods

Represents the use of the ^ operator for pinning an expression in a pattern matching expression.

foo in ^(bar)
       ^^^^^^

Class methods 2

Instance methods 19

Attributes
Read

The expression used in the pinned expression

foo in ^(bar)
         ^^^