class YARP::ConstantPathNode

def copy(**params)

def copy: (**params) -> ConstantPathNode
def copy(**params)
  ConstantPathNode.new(
    params.fetch(:parent) { parent },
    params.fetch(:child) { child },
    params.fetch(:delimiter_loc) { delimiter_loc },
    params.fetch(:location) { location },
  )
end