Changes for version 0.018
- bind_class now binds hash- or array-like classes.
- For methods, properties, and primitivisation, bind_class supports type-casting/filters (specify method names as 'foo:String', where 'String' is a JS function to feed the result of foo through).
- Properties registered with bind_class can now be inherited by subclasses that are also registered with bind_class, as long as 'isa =>' is given a class name (not a proto- type object).
- If you don't specify 'to_primitive' et al. when you call bind_class, JE will now check to see whether the object has string/number/boolean overloading, and will use that. If it doesn't, it continues to do the default JS thing (use the valueOf and toString methods).
Documentation
JavaScript types and objects
Modules
Pure-Perl ECMAScript (JavaScript) Engine
JavaScript boolean value
ECMAScript parser and code executor for JE
JavaScript lvalue class
JavaScript null value
JavaScript number value
Base class for all JavaScript objects
JavaScript Array object class
JavaScript Boolean object class
JavaScript Error object class
JavaScript RangeError object class
JavaScript ReferenceError object class
JavaScript SyntaxError object class
JavaScript TypeError object class
JavaScript URIError object class
JavaScript function class
JavaScript Math object
JavaScript Number object class
JS wrapper for Perl objects
JavaScript regular expression (RegExp object) class
JavaScript String object class
Framework for customising JE's parser
JavaScript scope chain (what makes closures work)
JavaScript string value
JavaScript undefined value
This module is solely for JE's private use.
Pure-Perl ECMAScript (JavaScript) engine
Provides
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Object/Function.pm
in lib/JE/Object/Function.pm
in lib/JE/Object/Proxy.pm