Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Understanding Ast By Looking

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for inouehi inouehi
March 09, 2024

Understanding Ast By Looking

『木を見て!森を見て!目で見てわかるAST(抽象構文木)』

PHPerKaigi 2024
2024-03-09 15:40〜 Track A
https://phperkaigi.jp/2024/

Avatar for inouehi

inouehi

March 09, 2024
Tweet

More Decks by inouehi

Other Decks in Programming

Transcript

  1. 42 <?php declare(strict_types=1); function foo() { echo 'bar'; } プレ|サフィックスは作図のための

    便宜的なもの Rootは作図のための 便宜的なもの 気にしないで…
  2. 77 <?php function foo() { echo 'The' . 'World!'; }

    barがドット区切りのThe World!に
  3. 83 <?php function foo() { echo '無' . '駄' .

    '無駄'; } ドットが2つ