RubyKaigi 2019 LT https://rubykaigi.org/2019
RubyVM::AST [Experimental] Ruby 2.6ã§ã¯ RubyVM::AST ã¢ã¸ã¥ã¼ã«ãå°å ¥ããã¾ããã ãã®ã¢ã¸ã¥ã¼ã«ã«ã¯ãæååããã¼ã¹ãã¦AST(æ½è±¡æ§ææ¨)ã®Nodeãè¿ãparseã¡ã½ããããã¡ã¤ã«ããã¼ã¹ããparse_fileã¡ã½ãããå®è£ ããã¦ãã¾ãã RubyVM::AST::Node ãå°å ¥ããã¾ããããã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ããä½ç½®æ å ±ãåãã¼ããåå¾ãããã¨ãã§ãã¾ãããã®æ©è½ã¯experimentalã§ãããäºææ§ã¯ä¿è¨¼ããã¦ãã¾ããã https://www.ruby-lang.org/ja/news/2018/05/31/ruby-2-6-0-preview2-released/ API = RubyVM::AST (from ruby core) --------------------------------------------
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}