Sha256: 21b0c4dcf486e8a749669b7f2a8688fbba6a81e2fa53daa3c79d4810cd23cc83
Contents?: true
Size: 560 Bytes
Versions: 3
Compression:
Stored size: 560 Bytes
Contents
Ruby Next AST format additions ======================= ### Method reference operator Format: ~~~ (meth-ref (self) :foo) "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 ~~~
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-next-parser-2.8.0.3 | lib/parser/ruby-next/AST_FORMAT.md |
ruby-next-parser-2.8.0.2 | lib/parser/ruby-next/AST_FORMAT.md |
ruby-next-parser-2.8.0.1 | lib/parser/ruby-next/AST_FORMAT.md |