Module: Ryac::Pipeline::RenamePatcher::_NodeWithNameLoc

Defined in:
sig/ryac/pipeline/rename_patcher.rbs

Overview

Prism nodes whose name_loc is always present (variable write / operator-write nodes and similar). Prism types name_loc as nullable only on bare rest/block parameters, which never reach these helpers.

Instance Method Summary collapse

Instance Method Details

#name_loc ⇒ Prism::Location

Returns:

  • (Prism::Location)


10
# File 'sig/ryac/pipeline/rename_patcher.rbs', line 10

def name_loc: () -> Prism::Location