Simplified ClassBuilder.buildMembers params
This cuts down on the excessive parameter length and opens up room for additional metadata generation. Some slight foreshadowing here.perfodd
parent
b7a314753a
commit
a0a5c61631
|
@ -346,9 +346,11 @@ exports.prototype.build = function extend( _, __ )
|
|||
this._classId,
|
||||
base,
|
||||
prop_init,
|
||||
abstract_methods,
|
||||
members,
|
||||
static_members,
|
||||
{
|
||||
all: members,
|
||||
'abstract': abstract_methods,
|
||||
'static': static_members,
|
||||
},
|
||||
function( inst )
|
||||
{
|
||||
return new_class.___$$svis$$;
|
||||
|
@ -441,13 +443,16 @@ exports.prototype._getBase = function( base )
|
|||
|
||||
|
||||
exports.prototype.buildMembers = function buildMembers(
|
||||
props, class_id, base, prop_init, abstract_methods, members,
|
||||
static_members, staticInstLookup
|
||||
props, class_id, base, prop_init, memberdest, staticInstLookup
|
||||
)
|
||||
{
|
||||
var hasOwn = Array.prototype.hasOwnProperty,
|
||||
defs = {},
|
||||
|
||||
members = memberdest.all,
|
||||
abstract_methods = memberdest['abstract'],
|
||||
static_members = memberdest['static'],
|
||||
|
||||
smethods = static_members.methods,
|
||||
sprops = static_members.props,
|
||||
|
||||
|
|
Loading…
Reference in New Issue