Ruby Code

Ripper S-expression

# Ripper.sexp_raw(...) =>

[:program,
 [:stmts_add,
  [:stmts_new],
  [:command,
   [:@ident, "puts", [1, 0]],
   [:args_add_block,
    [:args_add,
     [:args_new],
     [:string_literal,
      [:string_add,
       [:string_add, [:string_content], [:@tstring_content, "hello ", [1, 6]]],
       [:string_embexpr,
        [:stmts_add, [:stmts_new], [:vcall, [:@ident, "world", [1, 14]]]]]]]],
    false]]]]

Graph Structure

Ruby version: 2.5.0, Source Code: GitHub.