Slide 62
Slide 62 text
TreeRewriterͷ #1
• ࣮͕ෳࡶ
• TreeRewriter͕จࣈྻΛॻ͖͑ΔΘ͚Ͱͳ͍
• TreeRewriter::ActionͷΠϯελϯεΛͭͬͯ͘ɺ࠷ޙʹҰؾʹมߋΛՃ͑
Δ
Action. :replace (2, 0)-(2, 4) “elsif condition_b”
Action. :replace (3, 2)-(3, 16) “action_b”
Action. :replace (7, 0)-(7, 6) “”
Action. :replace (4, 0)-(4, 13) “”