<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HisakiT</author_name>
  <author_url>https://blog.hatena.ne.jp/HisakiT/</author_url>
  <blog_title> Hisakeyのブログ</blog_title>
  <blog_url>https://hisakit.hatenablog.com/</blog_url>
  <categories>
    <anon>技術記事</anon>
  </categories>
  <description>はじめに ASTとはなにかというものを、簡単なコードを書きながら理解していく記事です。 今回は、parser を用いて Ruby のコードから AST（Abstract Syntax Tree）の構造を確認し、さらに Rubocop で簡単なカスタムCopを作成して、理解を深めてみました。 背景・動機 先日の柏rbの振り返り回が始まる前に、チラっと話題に出た 「AST」 というワード。 正直、自分はそれが何かすらまったくわかっていませんでした。 「抽象構文木？」「構文解析？」という状態。 なので、まずは手を動かしながら自分なりに調べてみよう！という気持ちで、実際に試してみました。 実例・やって…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisakit.hatenablog.com%2Fentry%2F2025%2F07%2F07%2F182625&quot; title=&quot;「はじめてのAST」〜parserとRubocopで構文木を学ぶ〜 -  Hisakeyのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-07 18:26:25</published>
  <title>「はじめてのAST」〜parserとRubocopで構文木を学ぶ〜</title>
  <type>rich</type>
  <url>https://hisakit.hatenablog.com/entry/2025/07/07/182625</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
