a:19:{s:9:"#provides";s:21:"dojox.highlight._base";s:9:"#resource";s:18:"highlight/_base.js";s:15:"dojox.highlight";a:3:{s:4:"type";s:6:"Object";s:7:"summary";s:56:"Syntax highlighting with language auto-detection package";s:11:"description";s:177:"Syntax highlighting with language auto-detection package. Released under CLA by the Dojo Toolkit, original BSD release available from: http://softwaremaniacs.org/soft/highlight/";}s:11:"C_NUMBER_RE";a:1:{s:7:"summary";s:0:"";}s:12:"dh.constants";a:1:{s:7:"summary";s:0:"";}s:18:"mode.keywordGroups";a:1:{s:7:"summary";s:0:"";}s:11:"environment";a:1:{s:7:"summary";s:0:"";}s:19:"container.innerHTML";a:1:{s:7:"summary";s:0:"";}s:14:"node.className";a:1:{s:7:"summary";s:0:"";}s:14:"node.innerHTML";a:1:{s:7:"summary";s:0:"";}s:9:"relevance";a:1:{s:7:"summary";s:0:"";}s:12:"relevanceMax";a:1:{s:7:"summary";s:0:"";}s:7:"dh.Code";a:1:{s:7:"summary";s:0:"";}s:29:"dojox.highlight.processString";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"str";a:1:{s:4:"type";s:6:"String";}s:4:"lang";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"String";}}s:6:"source";s:78:" return lang ? highlightStringLanguage(lang, str) : highlightStringAuto(str);";s:7:"summary";s:26:"highlight a string of text";s:14:"return_summary";s:232:"Object containing: result - string of html with spans to apply formatting partialResult - if the formating failed: string of html up to the point of the failure, otherwise: undefined langName - the language used to do the formatting";}s:20:"dojox.highlight.init";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:14:"String|DomNode";}}s:6:"source";s:447:" node = dojo.byId(node); if(dojo.hasClass(node, "no-highlight")){ return; } if(!verifyText(node)){ return; } var classes = node.className.split(/\s+/), flag = dojo.some(classes, function(className){ if(className.charAt(0) != "_" && dh.languages[className]){ highlightLanguage(node, className); return true; // stop iterations } return false; // continue iterations }); if(!flag){ highlightAuto(node); }";s:7:"summary";s:23:"Highlight a passed node";s:11:"description";s:59:"Syntax highlight a passed DomNode or String ID of a DomNode";s:7:"returns";s:35:"stop iterations|continue iterations";s:8:"examples";a:1:{i:0;s:34:" dojox.highlight.init("someId");";}}s:20:"dojox.highlight.Code";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"props";a:3:{s:4:"type";s:6:"Object";s:8:"optional";b:1;s:7:"summary";s:119:"Unused. Pass 'null' or {}. Positional usage to allow `dojo.parser` to instantiate this class as other Widgets would be.";}s:4:"node";a:2:{s:4:"type";s:14:"String|DomNode";s:7:"summary";s:74:"A String ID or DomNode reference to use as the root node of this instance.";}}s:6:"source";s:30:" this.node = dojo.byId(node);";s:7:"summary";s:271:"A Class object to allow for dojoType usage with the highlight engine. This is NOT a Widget in the conventional sense, and does not have any member functions for the instance. This is provided as a convenience. You likely should be calling `dojox.highlight.init` directly.";s:8:"examples";a:2:{i:0;s:83:"
for(var i in obj){ ... }
";i:1;s:53:"
var inst = new dojox.highlight.Code({}, "someId");";}s:9:"classlike";b:1;}s:25:"dojox.highlight.Code.node";a:3:{s:8:"instance";s:20:"dojox.highlight.Code";s:4:"type";s:14:"String|DomNode";s:7:"summary";s:74:"A String ID or DomNode reference to use as the root node of this instance.";}s:21:"dojox.highlight._base";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}