Merge: No old style accessors
authorJean Privat <jean@pryen.org>
Thu, 26 Jun 2014 19:51:50 +0000 (15:51 -0400)
committerJean Privat <jean@pryen.org>
Thu, 26 Jun 2014 19:51:50 +0000 (15:51 -0400)
commit18a18cf7a87856c19ed1608b3f133ff9e89dde3b
tree14997bfddeca8343a80c0750a0f24ed7df714bfd
parent07e7060e4ae9189fa86089595de25a3ee54ad1b0
parenta1fed3e7241f87438d77c2d0cd4a82d5fd53dacd
Merge: No old style accessors

Old-style accessors are those in the form

~~~
readable writable var _foo: Foo
~~~

The plan is to remove them from the grammar (and the AST and modelize_property) in future PR.
This PR only update the exisiting code to remove the remaining occurences by:

* using new-style attributes, or
* keep old style attributes with explicit getters/setters if using new-style attributes has a too big impact on the performances (or is too complex to update)

Because of performance implications, old-style attribute may remains in the language to implements some intern parts.

Pull-Request: #528
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>