function( prefix ) {
		var code = "function( inst ) {\n";
		for (var i=0, l=this.index.length; i<l; ++i) {
			var o = this.index[i];
			if (i === 0) code += prefix + this.indent + "if";
			else code += prefix + this.indent + "} else if";
			code += " (inst instanceof "+o.name+") {\n";
			code += prefix + this.indent + this.indent + "return [" + o.id + ", getter_"+o.safeName+"];\n";
		}
		code += prefix + this.indent + "}\n";
		code += prefix + "}\n"
		return code;
	}
function( prefix ) {
		var code = "function( inst ) {\n";
		for (var i=0, l=this.index.length; i<l; ++i) {
			var o = this.index[i];
			if (i === 0) code += prefix + this.indent + "if";
			else code += prefix + this.indent + "} else if";
			code += " (inst instanceof "+o.name+") {\n";
			code += prefix + this.indent + this.indent + "return [" + o.id + ", getter_"+o.safeName+"];\n";
		}
		code += prefix + this.indent + "}\n";
		code += prefix + "}\n"
		return code;
	}
function ( prefix ) { var code = "function( inst ) {\n" ; for ( var i = 0 , l = this . index . length ; i < l ; ++ i ) { var o = this . index [ i ] ; if ( i === 0 ) code += prefix + this . indent + "if" ; else code += prefix + this . indent + "} else if" ; code += " (inst instanceof " + o . name + ") {\n" ; code += prefix + this . indent + this . indent + "return [" + o . id + ", getter_" + o . safeName + "];\n" ; } code += prefix + this . indent + "}\n" ; code += prefix + "}\n" return code ; }
Generate the function to use for identifying an object
Generate the function to use for identifying an object