diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-09-11 19:22:48 +0200 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-09-18 20:36:17 +0200 |
commit | c8a9329ff9b2a6ea99eef7234c9f84c0bfe0166b (patch) | |
tree | ddb01dd1c77344bc1b7768ad7460dd021274faa4 /docs | |
parent | a8543ef28f8fc0152208f4eef763344657bf9e5a (diff) | |
download | scala-c8a9329ff9b2a6ea99eef7234c9f84c0bfe0166b.tar.gz scala-c8a9329ff9b2a6ea99eef7234c9f84c0bfe0166b.tar.bz2 scala-c8a9329ff9b2a6ea99eef7234c9f84c0bfe0166b.zip |
add syntactic extractor for assignment-like trees
There are three kinds of assign-like trees:
1. Assign(lhs, rhs) // $lhs = $rhs
3. AssignOrNamedArg(lhs, rhs) // $lhs = $rhs
2. Apply(Select(f, nme.update), args :+ rhs) // $f(..$args) = $rhs
New syntactic combinator unifies all of them and lets users not to think
about these implementations details.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions