MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / _toString

Function _toString

ServerEditorWeb/ace/worker-xml.js:3025–3034  ·  view source on GitHub ↗
(chars,start,length)

Source from the content-addressed store, hash-verified

3023 }
3024}
3025function _toString(chars,start,length){
3026 if(typeof chars == 'string'){
3027 return chars.substr(start,length)
3028 }else{//java sax connect width xmldom on rhino(what about: "? && !(chars instanceof String)")
3029 if(chars.length >= start+length || start){
3030 return new java.lang.String(chars,start,length)+'';
3031 }
3032 return chars;
3033 }
3034}
3035"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(key){
3036 DOMHandler.prototype[key] = function(){return null}
3037})

Callers 9

worker-lua.jsFile · 0.85
worker-html.jsFile · 0.85
worker-php.jsFile · 0.85
worker-xml.jsFile · 0.85
ace.jsFile · 0.85
worker-coffee.jsFile · 0.85
worker-json.jsFile · 0.85
worker-css.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected