ASTs for Beginners at Clevertech (February 2017)

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ •

  • @JonWoo
    @JonWoo 7 років тому +3

    Another great tutorial on a very interesting topic

  • @AntoineGrant1
    @AntoineGrant1 7 років тому +1

    Very cool talk Kent! Keep them coming!
    I noticed that in the Babel plugin example, the old Identifier is not renamed to the new Identifier.
    `program.scope.rename(name, newIdentifier.name)` should be `path.scope.rename(name, newIdentifier.name)`
    since we want to rename in the scope of the `getVersion` function.
    Does that make sense or I missed something?

    • @AntoineGrant1
      @AntoineGrant1 7 років тому +1

      Ah I guess in the video it's right but if you follow the link to the ASTExplorer, there it's using `program.scope`.
      astexplorer.net/#/gist/052814252004aeb443a8817adadf35e6/latest

    • @KentCDodds-vids
      @KentCDodds-vids  7 років тому +2

      Antoine Grant yeah, I actually realized that during my talk and fixed it 😅

  • @irvingsuarez
    @irvingsuarez 4 роки тому

    Still relevant! Thank's Kent. 🙌🏻🙌🏻

  • @annranz6406
    @annranz6406 5 років тому +1

    Awesome!!! 3q very much!