Skip to content
instance method

Prism::HashPatternNode#opening_loc

opening_loc

The location of the opening brace.

foo => { a: 1 }
       ^

foo => Bar[a: 1]
          ^