https://speakerdeck.com/ydah/the-joy-of-parse-y 作成されるASTと突き合わせる ❯ r uby - - pa r se r =pa r se.y - - dump=pa r set r ee - e " * x = p r escue p 1" : # +- nd_body: # @ NODE_MASGN (id: 1, line: 1, location: (1,0)-(1,17))* # +- nd_value: # | @ NODE_RESCUE (id: 7, line: 1, location: (1,5)-(1,17)) # | +- nd_head: # | | @ NODE_VCALL (id: 2, line: 1, location: (1,5)-(1,6)) # | | +- nd_mid: :p # | +- nd_ r esq: # | | @ NODE_RESBODY (id: 6, line: 1, location: (1,7)-(1,17)) # | | +- nd_a r gs: # | | | (null node) # | | +- nd_body: # | | | @ NODE_FCALL (id: 4, line: 1, location: (1,14)-(1,17)) # | | | +- nd_mid: :p # | | | +- nd_a r gs: :