Robert Krimen
321cc0dca8
Add _argumentsStash, with better conforming arguments behavior:
...
1. Can not delete a function parameter
2. Deleting the index of an arguments object simply
removes the link to that function parameter
2013-02-24 14:28:07 -08:00
Robert Krimen
840fde7610
Switch function environment to be declarative...
...
...instead of object.
Also, make sure arguments passed through to function are not deletable.
2013-02-23 14:47:18 -08:00
Robert Krimen
38b9c8071f
Mutable bindings should not be deletable by default
2013-02-23 14:24:19 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Robert Krimen
d672bf5037
Have _objectEnvironment pay attention to deletable
2012-11-05 17:45:06 -08:00
Robert Krimen
5f407353c2
Implementation (and use) of _declarativeEnvironment
...
No longer masquerading via _objectEnvironment
2012-11-05 17:14:56 -08:00
Robert Krimen
8d15eef506
Begin refactoring/simplifying _*Environment
2012-11-05 16:53:37 -08:00
Robert Krimen
19c039924a
Simplify _environment interface
...
Factor out derivative-environment creation
2012-11-05 16:40:19 -08:00
Robert Krimen
23501072fc
Move getIdentifierReference
2012-11-05 15:35:01 -08:00
Robert Krimen
efc94517dd
_objectReference => _propertyReference
2012-11-05 13:33:29 -08:00
Robert Krimen
3c93384f5c
Cleanup of stash, property, and object
...
Use octal to designate write/enumerate/configure (experimental)
Move extensibility responsibility into the stash
Rename propertyStash => objectStash (be congruent with arrayStash, etc.)
Get rid of a bunch of useless methods
Privatize everything ([A-Z] => [a-z_])
gofmt
2012-10-26 15:47:19 -07:00
Robert Krimen
c6e45a7118
Change getIdentifierReference to accept a node argument
...
To track/report where errors are coming from
2012-10-09 17:26:08 -07:00
Robert Krimen
ade6a169be
Partially fix ReferenceError origin reporting
2012-10-09 17:19:29 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00