Skip to content
On this page
class · Ruby 4.0

Prism::PinnedVariableNode

< Prism::Node 13 instance methods 2 class methods

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

foo in ^bar
       ^^^^

Class methods 2

Instance methods 13

Attributes
Read

The variable used in the pinned expression

foo in ^bar
        ^^^