bindExternalClass method
Register a external class into scrfipt. For acessing static members and constructors of this class, there must also be a declaraction in script
Implementation
void bindExternalClass(HTExternalClass externalClass,
{bool override = false}) {
if (externClasses.containsKey(externalClass.id) && !override) {
throw HTError.defined(externalClass.id, ErrorType.runtimeError);
}
externClasses[externalClass.id] = externalClass;
}