nl_tokens: _inherit : Inherit Child from Parent Based on but sadly incompatable with coffeescript inheritance
pl_tokens: function _inherit ( Child , Parent ) { var Ctor , prop // Copy class properties and methods for ( prop <mask> Parent ) oj . copyProperty ( Child , Parent , prop ) Ctor = function ( ) { } ; Ctor . prototype = Parent . prototype ; Child . prototype = new Ctor ( ) // Provide easy access for base class methods // Example: Parent.base.methodName(arguments...) Child . base = Child . __super__ = Parent . prototype }