class YARP::PinnedExpressionNode

^^^^^^
foo in ^(bar)
pattern matching expression.
Represents the use of the ‘^` operator for pinning an expression in a

def accept(visitor)

def accept: (visitor: Visitor) -> void
def accept(visitor)
  visitor.visit_pinned_expression_node(self)
end

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [expression]
end

def deconstruct_keys(keys)

def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location]
def deconstruct_keys(keys)
  { expression: expression, operator_loc: operator_loc, lparen_loc: lparen_loc, rparen_loc: rparen_loc, location: location }
end

def initialize(expression, operator_loc, lparen_loc, rparen_loc, location)

def initialize: (expression: Node, operator_loc: Location, lparen_loc: Location, rparen_loc: Location, location: Location) -> void
def initialize(expression, operator_loc, lparen_loc, rparen_loc, location)
  @expression = expression
  @operator_loc = operator_loc
  @lparen_loc = lparen_loc
  @rparen_loc = rparen_loc
  @location = location
end

def lparen

def lparen: () -> String
def lparen
  lparen_loc.slice
end

def operator

def operator: () -> String
def operator
  operator_loc.slice
end

def rparen

def rparen: () -> String
def rparen
  rparen_loc.slice
end