ariya/esprima — pull request #270 by toshok (2014-07-06 17:56:27+00:00)
Title: Harmony computed method definitions

issue: https://code.google.com/p/esprima/issues/detail?id=563

MethodDefinitions can also be computed, via the following productions:

```
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }
MethodDefinition : get PropertyName ( ) { FunctionBody }
MethodDefinition : set PropertyName ( PropertySetParameterList ) { FunctionBody }
...
PropertyName : ComputedPropertyName
```

Given the nature of computed property names (evaluated at run-time) they also cannot participate in the duplicate member name checks.