diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2012-12-08 13:47:14 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-12-25 01:58:28 +0100 |
commit | e5ed594a89f4e468f3a9e754eb75687885908ba3 (patch) | |
tree | d969ec4655a0d2766c1749eb01c0385cd5b184ac /gitconfig.SAMPLE | |
parent | d2a7aa4ba1c048e52affb0eb2b9167a18dc29c83 (diff) | |
download | scala-e5ed594a89f4e468f3a9e754eb75687885908ba3.tar.gz scala-e5ed594a89f4e468f3a9e754eb75687885908ba3.tar.bz2 scala-e5ed594a89f4e468f3a9e754eb75687885908ba3.zip |
Adds extractors for TypeName, TermName and Modifiers
This change allows to pattern match over type names, term names and
modifiers. Otherwise it can be quite painful to match over complex trees
as each name or modifiers requires a guard.
This pull request also changes the name of default constructor for term
and type names i.e. TypeName(s) instead of newTermName(s). This is
shorter to type, more consistent with the rest of reflection api and
consistent with the way it will be pattern matched later on.
Diffstat (limited to 'gitconfig.SAMPLE')
0 files changed, 0 insertions, 0 deletions