'Add a new class using scope.classname.prototype = {...}
@param namelist {list of unicode} The path to get to the class; in the
example above, ["scope", "classname"]
@param doc {list of unicode} Documentation comment associated with this class
@param varCtor {callable} The constructor function to create a variable
for use with ADD_CLASS_MEMBER / ADD_CLASS_VARIABLE; the
signature should match that of JSVariable'

def addClass(self, namelist, doc=None, path=None, varCtor=JSVariable):

    jsclass = self._addClassPart(namelist[(-1)], self.ADD_CLASS, scopeNames=namelist, doc=doc, path=path, varCtor=varCtor)
    return jsclass
