lib/parser/ruby-next/AST_FORMAT.md in ruby-next-parser-2.8.0.0 vs lib/parser/ruby-next/AST_FORMAT.md in ruby-next-parser-2.8.0.1

- old
+ new

@@ -10,5 +10,32 @@ "self.:foo" ^^ dot ^^^ selector ^^^^^^^^^ expression ~~~ + +### "Endless" method + +Format: + +~~~ +(def_e :foo (args) (int 42)) +"def foo() = 42" + ~~~ keyword + ~~~ name + ^ assignment + ~~~~~~~~~~~~~~ expression +~~~ + + +### "Endless" singleton method + +Format: + +~~~ +(defs_e (self) :foo (args) (int 42)) +"def self.foo() = 42" + ~~~ keyword + ~~~ name + ^ assignment + ~~~~~~~~~~~~~~~~~~~ expression +~~~