Lines Matching refs:prototype

20 …Properties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return…
26 …neProperty(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=functio…
27 …l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&$jscomp.defineProperty(d.prototy…
32 …r d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:…
33 …NES;c&&void 0===c.nodeType&&Object.prototype.hasOwnProperty.call(c,a)?b=c[a]:d&&void 0===d.nodeTyp…
52 …anceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a)…
54 goog.getUid=function(a){return Object.prototype.hasOwnProperty.call(a,goog.UID_PROPERTY_)&&a[goog.U…
56prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Ar…
57 goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.…
61prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base…
62prototype.constructor||(c=function(){throw Error("cannot instantiate an interface (no constructor …
64prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FI…
66 …l;this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTr…
68 …"es_next",function(){return!1});return{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=f…
69 …ript")?!1:!0;throw Error("Unknown language mode: "+a);},goog.Transpiler.prototype.transpile=functi…
70 …_);this.deferredCallbacks_={};this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=functi…
71prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.nor…
72 function(a){this.factory_=a},goog.DebugLoader_.prototype.load_=function(a){if(this.getPathFromDeps_…
73 a,goog.logToConsole_(a),Error(a);},goog.DebugLoader_.prototype.loadDeps_=function(){for(var a=this,…
75prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.p…
76prototype.areDepsLoaded_=function(a){for(var b=0;b<a.length;b++){var c=this.getPathFromDeps_(a[b])…
77prototype.defer_=function(a,b){this.deferredCallbacks_[a.path]=b;this.deferredQueue_.push(a.path)}…
78prototype.setModuleState=function(a){},goog.LoadController.prototype.clearModuleState=function(){}…
79 …return a},goog.Dependency.prototype.onLoad=function(a){this.loaded_?a():this.loadCallbacks_.push(a…
80 …oes not exist (was base.js loaded more than once?).");},goog.Dependency.prototype.load=function(a)…
84 …rits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(a)…
87 …(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(a)…
91prototype.transform=function(a){},goog.TranspiledDependency=function(a,b,c,d,e,f){goog.Transformed…
92prototype.transform=function(a){return a},goog.GoogModuleDependency=function(a,b,c,d,e,f,g){goog.T…
93 …ob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=fu…
149 ….prototype.slice.call(arguments,0);var b=[];return b.concat.apply(b,a.map(Object.keys))};sre.Seman…
222 …===b.font};sre.SemanticAttr.prototype.lookupType=function(a){return sre.SemanticAttr.Type.UNKNOWN}…
226prototype.isMatchingFence_=function(a,b){return-1!=this.neutralFences.indexOf(a)?a==b:this.openClo…
227 sre.SemanticAttr.prototype.lookupMeaning_=function(a){return this.meaning_[a]||{role:sre.SemanticAt…
228 sre.SemanticNode.prototype.querySelectorAll=function(a){for(var b=[],c=0,d;d=this.childNodes[c];c++…
229 sre.SemanticNode.prototype.xml=function(a,b){var c=function(e,f){f=f.map(function(k){return k.xml(a…
230prototype.toString=function(a){var b=new sre.SystemExternal.xmldom.XMLSerializer,c=(new sre.System…
231 sre.SemanticNode.prototype.allAttributes=function(){var a=[];a.push([sre.SemanticNode.Attribute.ROL…
232 …icNode.prototype.addExternalAttributes_=function(a){for(var b in this.attributes)a.setAttribute(b,…
233 sre.SemanticNode.prototype.toJson=function(){var a={};a[sre.SemanticNode.Attribute.TYPE]=this.type;…
234prototype.updateContent=function(a,b){b=b?a.replace(/^[ \f\n\r\t\v\u200b]*/,"").replace(/[ \f\n\r\…
235prototype.removeMathmlNodes_=function(a){for(var b=this.mathml,c=0,d;d=a[c];c++)d=b.indexOf(d),-1!…
236prototype.replaceChild=function(a,b){var c=this.childNodes.indexOf(a);if(-1!=c){a.parent=null;b.pa…
237 sre.SemanticNode.prototype.removeContentNode=function(a){a&&(a=this.contentNodes.indexOf(a),-1!=a&&…
238prototype.equals=function(a){if(!a||this.type!==a.type||this.role!==a.role||this.textContent!==a.t…
239 sre.SemanticNode.prototype.displayTree_=function(a){a++;var b=Array(a).join(" "),c="";c+="\n"+b+th…
240prototype.mathmlTreeString_=function(){return this.mathmlTree?this.mathmlTree.toString():"EMPTY"};…
241prototype.hasAnnotation=function(a,b){return(a=this.annotation[a])?-1!==a.indexOf(b):!1};sre.Seman…
242prototype.annotate=function(a){for(var b in this.annotators)this.annotators[b].annotate(a);for(var…
243prototype.reduce=function(a){if(1>=a.length)return a;a=a.slice();this.sort(a);var b=[];do{var c=a.…
244prototype.add=function(a,b){this.map_[sre.SemanticDefault.key_(a,b.font)]=b};sre.SemanticDefault.p…
245prototype.size=function(){return Object.keys(this.map_).length};sre.SemanticCollator_=function(){t…
246prototype.retrieveNode=function(a){return this.retrieve(a.textContent,a.font)};sre.SemanticCollato…
247prototype.reduce=function(){for(var a in this.map_)1!==this.map_[a].length&&(this.map_[a]=sre.Sema…
248 …re.SemanticNodeCollator.prototype.copyCollator=function(){return new sre.SemanticNodeCollator};sre…
249prototype.collateMeaning=function(){var a=new sre.SemanticMeaningCollator,b;for(b in this.map_)a.m…
250prototype.add=function(a,b){var c=this.retrieve(a,b.font);c&&c.find(function(d){return sre.Semanti…
251prototype.toString=function(){var a=[],b;for(b in this.map_){for(var c=Array(b.length+3).join(" ")…
252prototype.newDefault=function(){var a=this.default();this.reduce();var b=this.default();return a.s…
253prototype.makeEmptyNode=function(){var a=this.createNode_();a.type=sre.SemanticAttr.Type.EMPTY;ret…
254prototype.makeLeafNode=function(a,b){if(!a)return this.makeEmptyNode();a=this.makeContentNode(a);a…
255prototype.setFactory=function(a){this.factory_=a};sre.SemanticAbstractParser.prototype.getType=fun…
272 …y};goog.addSingletonGetter(sre.SemanticProcessor);sre.SemanticProcessor.prototype.setNodeFactory=f…
273 sre.SemanticProcessor.prototype.identifierNode=function(a,b,c){a=sre.SemanticProcessor.getInstance(…
274 …IER);sre.SemanticProcessor.exprFont_(a);return a};sre.SemanticProcessor.prototype.implicitNode_=fu…
275 sre.SemanticProcessor.prototype.implicitNode=function(a){a=sre.SemanticProcessor.getInstance().getM…
276 sre.SemanticProcessor.prototype.infixNode_=function(a,b){a=sre.SemanticProcessor.getInstance().fact…
277 sre.SemanticProcessor.prototype.concatNode_=function(a,b,c){if(0===b.length)return a;var d=b.map(fu…
278 sre.SemanticProcessor.prototype.prefixNode_=function(a,b){b=sre.SemanticProcessor.partitionNodes_(b…
279 …p.pop(),sre.SemanticAttr.Type.PREFIXOP);return a};sre.SemanticProcessor.prototype.postfixNode_=fun…
280 sre.SemanticProcessor.prototype.text=function(a,b,c){if(!a)return sre.SemanticProcessor.getInstance…
281 sre.SemanticProcessor.prototype.row=function(a){a=a.filter(function(b){return!sre.SemanticPred.isAt…
282 sre.SemanticProcessor.prototype.combineUnits_=function(a){var b=sre.SemanticProcessor.partitionNode…
284 sre.SemanticProcessor.prototype.getMixedNumbers_=function(a){var b=sre.SemanticProcessor.partitionN…
286 sre.SemanticProcessor.prototype.getTextInRow_=function(a){if(1>=a.length)return a;var b=sre.Semanti…
287 sre.SemanticProcessor.prototype.relationsInRow_=function(a){var b=sre.SemanticProcessor.partitionNo…
289 sre.SemanticProcessor.prototype.operationsInRow_=function(a){if(0===a.length)return sre.SemanticPro…
291 sre.SemanticProcessor.prototype.operationsTree_=function(a,b,c,d){d=d||[];if(0===a.length)return d.…
293 sre.SemanticProcessor.prototype.appendOperand_=function(a,b,c){if(a.type!==sre.SemanticAttr.Type.IN…
294 sre.SemanticProcessor.prototype.appendDivisionOp_=function(a,b,c){return b.role===sre.SemanticAttr.…
295 sre.SemanticProcessor.prototype.appendLastOperand_=function(a,b,c){for(var d=a,e=a.childNodes[a.chi…
296 sre.SemanticProcessor.prototype.appendMultiplicativeOp_=function(a,b,c){if(sre.SemanticPred.isImpli…
297 …cessor.prototype.appendAdditiveOp_=function(a,b,c){return sre.SemanticProcessor.getInstance().infi…
298 sre.SemanticProcessor.prototype.getFencesInRow_=function(a){a=sre.SemanticProcessor.partitionNodes_…
299 sre.SemanticProcessor.prototype.fences_=function(a,b,c,d){if(0===a.length&&0===c.length)return d[0]…
303 sre.SemanticProcessor.prototype.neutralFences_=function(a,b){if(0===a.length)return a;if(1===a.leng…
305 sre.SemanticProcessor.prototype.combineFencedContent_=function(a,b,c,d){if(0===c.length)return a=sr…
308 sre.SemanticProcessor.prototype.horizontalFencedNode_=function(a,b,c){c=sre.SemanticProcessor.getIn…
309 sre.SemanticProcessor.prototype.classifyHorizontalFence_=function(a){a.role=sre.SemanticAttr.Role.L…
311 sre.SemanticProcessor.prototype.setExtension_=function(a){(a=a.childNodes[0].childNodes[0])&&a.type…
312 sre.SemanticProcessor.prototype.getPunctuationInRow_=function(a){if(1>=a.length)return a;var b=func…
314 sre.SemanticProcessor.prototype.punctuatedNode_=function(a,b){var c=sre.SemanticProcessor.getInstan…
315 …T:c.role=sre.SemanticAttr.Role.SEQUENCE;return c};sre.SemanticProcessor.prototype.dummyNode_=funct…
317 sre.SemanticProcessor.prototype.limitNode=function(a,b){var c=b[0];if(sre.SemanticPred.isLimitBase(…
320 sre.SemanticProcessor.prototype.getFunctionsInRow_=function(a,b){b=b||[];if(0===a.length)return b;v…
324 sre.SemanticProcessor.prototype.getFunctionArgs_=function(a,b,c){switch(c){case "integral":b=sre.Se…
328 sre.SemanticProcessor.prototype.getIntegralArgs_=function(a,b){b=b||[];if(0===a.length)return{integ…
330 sre.SemanticProcessor.prototype.functionNode_=function(a,b){var c=sre.SemanticProcessor.getInstance…
331 [a,b],d,[c])};sre.SemanticProcessor.prototype.bigOpNode_=function(a,b){var c=sre.SemanticProcessor.…
332 sre.SemanticProcessor.prototype.integralNode_=function(a,b,c){b=b||sre.SemanticProcessor.getInstanc…
333 sre.SemanticProcessor.prototype.functionalNode_=function(a,b,c,d){var e=b[0];if(c){var f=c.parent;d…
334 sre.SemanticProcessor.prototype.tablesInRow=function(a){a=sre.SemanticProcessor.partitionNodes_(a,s…
345 sre.SemanticProcessor.prototype.mfenced=function(a,b,c,d){if(c&&0<d.length){var e=sre.SemanticProce…
350 sre.SemanticProcessor.prototype.fractionLikeNode=function(a,b,c,d){!d&&sre.SemanticUtil.isZeroLengt…
352 sre.SemanticProcessor.prototype.fractionNode_=function(a,b){a=sre.SemanticProcessor.getInstance().f…
353 sre.SemanticProcessor.prototype.tensor=function(a,b,c,d,e){b=sre.SemanticProcessor.getInstance().fa…
355 sre.SemanticProcessor.prototype.pseudoTensor=function(a,b,c){var d=function(g){return!sre.SemanticP…
356 sre.SemanticProcessor.prototype.scriptNode_=function(a,b,c){switch(a.length){case 0:a=sre.SemanticP…
367 …SemanticProcessor.prototype.font=function(a){var b=sre.SemanticProcessor.MATHJAX_FONTS[a];return b…
368 sre.SemanticProcessor.prototype.propagateComposedFunction=function(a){"clearspeak"===sre.Engine.get…
369 sre.SemanticProcessor.prototype.proof=function(a,b,c){b.inference||b.axiom||console.log("Noise");if…
370 sre.SemanticProcessor.prototype.inference=function(a,b,c){if(b.inferenceRule)return c=this.getFormu…
371 [c.conclusion,c.premises],b);c.mathmlTree=a;return c};sre.SemanticProcessor.prototype.getLabel=func…
372 sre.SemanticProcessor.prototype.getFormulas=function(a,b,c){b=b.length?this.findNestedRow(b,"infere…
373 …0].childNodes[0];return{conclusion:c,premises:d}};sre.SemanticProcessor.prototype.findNestedRow=fu…
374prototype.findNestedRow_=function(a,b,c,d){if(3<c)return null;for(var e=0,f;f=a[e];e++){var g=sre.…
379 sre.SemanticMathml.prototype.parse=function(a){sre.SemanticProcessor.getInstance().setNodeFactory(t…
380prototype.addAttributes=function(a,b){if(b.hasAttributes()){b=b.attributes;for(var c=b.length-1;0<…
381 sre.SemanticMathml.prototype.rows_=function(a,b){var c=a.getAttribute("semantics");if(c&&c.match("b…
382prototype.fraction_=function(a,b){return sre.SemanticProcessor.getInstance().fractionLikeNode(this…
383prototype.root_=function(a,b){return this.getFactory().makeBranchNode(sre.SemanticAttr.Type.ROOT,[…
384prototype.table_=function(a,b){var c=a.getAttribute("semantics");if(c&&c.match("bspr_"))return sre…
385 sre.SemanticMathml.prototype.tableLabeledRow_=function(a,b){if(!b.length)return this.tableRow_(a,b)…
386 sre.SemanticMathml.prototype.tableCell_=function(a,b){a=this.parseList(sre.SemanticUtil.purgeNodes(…
387 sre.SemanticMathml.prototype.text_=function(a,b){return sre.SemanticProcessor.getInstance().text(a.…
388prototype.identifier_=function(a,b){a=sre.SemanticProcessor.getInstance().identifierNode(a.textCon…
389prototype.operator_=function(a,b){a=this.leaf_(a);a.type===sre.SemanticAttr.Type.UNKNOWN&&(a.type=…
390 sre.SemanticMathml.prototype.enclosed_=function(a,b){b=this.parseList(sre.SemanticUtil.purgeNodes(b…
391 sre.SemanticMathml.prototype.multiscripts_=function(a,b){if(!b.length)return this.getFactory().make…
392prototype.empty_=function(a,b){return this.getFactory().makeEmptyNode()};sre.SemanticMathml.protot…
396prototype.xml=function(a){var b=sre.DomUtil.parseInput("<stree></stree>");a=this.root.xml(b.ownerD…
397prototype.formatXml=function(a){a=this.toString(a);return sre.DomUtil.formatXml(a)};sre.SemanticTr…
491prototype.getMathml=function(){};sre.AbstractEnrichCase=function(a){this.semantic=a};sre.AbstractE…
492prototype.populate_=function(a,b,c){if(sre.SemanticSkeleton.simpleCollapseStructure(a))this.levels…
497 …eton.contentCollapseStructure(c[1])?c.slice(2):c.slice(1)};return Array.prototype.slice.call(argum…
526 sre.CaseBinomial.prototype.getMathml=function(){if(!this.semantic.childNodes.length)return this.mml…
527 sre.CaseDoubleScript.prototype.getMathml=function(){var a=this.semantic.childNodes[0],b=a.childNode…
529 sre.CaseMultiindex.prototype.completeMultiscript=function(a,b){var c=sre.DomUtil.toArray(this.mml.c…
532 sre.CaseMultiscripts.prototype.getMathml=function(){sre.EnrichMathml.setAttributes(this.mml,this.se…
534 …unction(a){return!(!a.mathmlTree||!a.fencePointer)};sre.CaseEmbellished.prototype.getMathml=functi…
535 sre.CaseEmbellished.prototype.getFenced_=function(){for(var a=this.semantic;a.type!==sre.SemanticAt…
536 sre.CaseEmbellished.prototype.getFencesMml_=function(){for(var a=this.semantic,b=Object.keys(this.o…
538 sre.CaseEmbellished.prototype.rewrite_=function(){var a=this.semantic,b=null,c=this.introduceNewLay…
540 sre.CaseEmbellished.prototype.specialCase_=function(a,b){var c=sre.DomUtil.tagName(b),d=null;if("MS…
542 sre.CaseEmbellished.prototype.introduceNewLayer_=function(){var a=this.fullFence(this.ofenceMml),b=…
543prototype.fullFence=function(a){for(var b=this.fencedMml.parentNode;a.parentNode&&a.parentNode!==b…
544 sre.CaseLine.prototype.getMathml=function(){this.semantic.contentNodes.length&&sre.EnrichMathml.wal…
545 sre.CaseProof.prototype.getMathml=function(){if(!this.semantic.childNodes.length)return this.mml;th…
546 sre.CaseTable.prototype.getMathml=function(){var a=sre.EnrichMathml.cloneContentNode(this.semantic.…
548 sre.CaseTensor.prototype.getMathml=function(){sre.EnrichMathml.walkTree(this.semantic.childNodes[0]…
550 sre.CaseText.prototype.getMathml=function(){var a=[],b=sre.EnrichMathml.collapsePunctuated(this.sem…
554 …th.max(a.alpha,0);a.alpha=Math.min(1,a.alpha);return a};sre.ColorPicker.prototype.rgba=function(){…
555 sre.ColorPicker.prototype.rgb=function(){var a=function(b){return"rgb("+b.red+","+b.green+","+b.blu…
556 sre.ColorPicker.prototype.hex=function(){var a=function(b){return"#"+sre.ColorPicker.toHex_(b.red)+…
557prototype.generate=function(){return sre.ColorPicker.RGB2hex_(sre.ColorPicker.rgb2RGB_(sre.ColorPi…
559prototype.highlight=function(a){};sre.Highlighter.prototype.unhighlight=function(){};sre.Highlight…
560prototype.unhighlight=function(){var a=this.currentHighlights_.pop();a&&a.forEach(goog.bind(functi…
561prototype.colorString=function(){return this.color.rgba()};sre.AbstractHighlighter.prototype.addEv…
562prototype.isHighlighted=function(a){return a.hasAttribute(sre.AbstractHighlighter.ATTR)};sre.Abstr…
563prototype.colorizeAll=function(a){sre.XpathUtil.evalXPath(".//*[@"+sre.EnrichMathml.Attribute.ID+"…
564prototype.colorize=function(a){var b=sre.EnrichMathml.addPrefix("foreground");a.hasAttribute(b)&&(…
565 sre.HtmlHighlighter.prototype.highlightNode=function(a){var b={node:a,foreground:a.style.color,posi…
566prototype.unhighlightNode=function(a){var b=a.node;b.style.color=a.foreground;b.style.position=a.p…
567prototype.unhighlightNode=function(a){var b=a.node.getAttribute("style");b=b.replace(";background-…
568 sre.MmlHighlighter.prototype.isMactionNode=function(a){return a.tagName===this.mactionName};sre.Svg…
569 sre.SvgHighlighter.prototype.highlightNode=function(a){if(this.isHighlighted(a))return{node:a.previ…
571 …ter.prototype.setHighlighted=function(a){"svg"===a.tagName&&sre.SvgHighlighter.superClass_.setHigh…
572 sre.SvgHighlighter.prototype.isMactionNode=function(a){a=a.className||a.getAttribute("class");retur…
573 sre.SvgV3Highlighter.prototype.highlightNode=function(a){if(this.isHighlighted(a))return{node:a,bac…
575prototype.unhighlightNode=function(a){var b=a.node.previousSibling;b&&b.hasAttribute("sre-highligh…
576 sre.SvgV3Highlighter.prototype.getMactionNodes=function(a){return sre.XpathUtil.evalXPath('.//*[@da…
588prototype.setSeparator=function(a){};sre.AudioRenderer.prototype.getSeparator=function(){};sre.Aud…
589prototype.finalize=function(a){return a};sre.AbstractAudioRenderer.prototype.pauseValue=function(a…
590 sre.MarkupRenderer.prototype.prosodyElement=goog.abstractMethod;sre.AcssRenderer=function(){sre.Mar…
591 sre.AcssRenderer.prototype.markup=function(a){this.setScaleFunction(-2,2,0,10,0);a=sre.AudioUtil.pe…
592 sre.AcssRenderer.prototype.error=function(a){return'(error "'+sre.EventUtil.Move[a.toString()]+'")'…
593prototype.prosodyElement=function(a,b){b=this.applyScaleFunction(b);switch(a){case sre.Engine.pers…
594 sre.PunctuationRenderer.prototype.markup=function(a){a=sre.AudioUtil.personalityMarkup(a);for(var b…
595 sre.PunctuationRenderer.prototype.pause=function(a){return sre.PunctuationRenderer.PAUSE_PUNCTUATIO…
596 sre.XmlRenderer.prototype.markup=function(a){this.setScaleFunction(-2,2,-100,100,2);a=sre.AudioUtil…
597prototype.closeTag=goog.abstractMethod;sre.SableRenderer=function(){sre.XmlRenderer.call(this)};go…
598prototype.prosodyElement=function(a,b){b=this.applyScaleFunction(b);switch(a){case sre.Engine.pers…
599prototype.prosodyElement=function(a,b){b=Math.floor(this.applyScaleFunction(b));b=0>b?b.toString()…
600prototype.merge=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.attributes.extid;e&&!s…
601prototype.markup=function(a){var b=sre.AuralRendering.rendererMapping_[sre.Engine.getInstance().ma…
602prototype.finalize=function(a){var b=sre.AuralRendering.rendererMapping_[sre.Engine.getInstance().…
605 …cProcessor.getInstance().setNodeFactory(this.factory)};sre.RebuildStree.prototype.getTree=function…
606 sre.RebuildStree.prototype.assembleTree=function(a){var b=this.makeNode(a),c=sre.WalkerUtil.splitAt…
608 sre.RebuildStree.prototype.makeNode=function(a){var b=sre.WalkerUtil.getAttribute(a,sre.EnrichMathm…
609 …&&sre.SemanticSkeleton.contentCollapseStructure(a[1])};sre.RebuildStree.prototype.makePunctuation=…
610prototype.makePunctuated=function(a,b,c){var d=this.createNode(b[0]);d.type=sre.SemanticAttr.Type.…
611 sre.RebuildStree.prototype.makeIndex=function(a,b,c){sre.RebuildStree.isPunctuated(b)?this.makePunc…
612 sre.RebuildStree.prototype.postProcess=function(a,b){b=sre.SemanticSkeleton.fromString(b).array;if(…
615 …r=a.fencePointer,this.collapsedChildren_(b));return a};sre.RebuildStree.prototype.createNode=funct…
616prototype.collapsedChildren_=function(a){var b=goog.bind(function(c){var d=this.nodeDict[c[0]];d.c…
617 sre.AuditoryDescription.prototype.clone=function(){if(this.personality){var a={};for(var b in this.…
618prototype.toString=function(){return'AuditoryDescription(context="'+this.context+'" text="'+this.…
619prototype.equals=function(a){return this.context==a.context&&this.text==a.text&&this.userValue==a.…
623 …=a));return b=new sre.SpeechRule.Component(b)};sre.SpeechRule.Component.prototype.toString=functio…
624 …e.SpeechRule.Component.prototype.grammarToString=function(){return this.getGrammar().join(":")};sr…
626prototype.attributesToString=function(){var a=this.getAttributes(),b=this.grammarToString();b&&a.p…
627 …e&&b.push(e)}return new sre.SpeechRule.Action(b)};sre.SpeechRule.Action.prototype.toString=functio…
628 sre.SpeechRule.Precondition.prototype.toString=function(){var a=this.constraints.join(", ");return …
630prototype.add=function(a,b){this.checkCustomFunctionSyntax_(a)&&(this.store_[a]=b)};sre.SpeechRule…
632prototype.checkCustomFunctionSyntax_=function(a){return a.match(new RegExp("^"+this.prefix_))?!0:(…
633prototype.applyQuery=function(a,b){a=this.applySelector(a,b);return 0<a.length?a[0]:null};sre.Spee…
634prototype.parse=function(a){for(var b=0,c;c=a[b];b++)({CQF:this.customQueries,CSF:this.customStrin…
635prototype.getChild=function(a){return this.children_[a]};sre.AbstractTrieNode.prototype.getChildre…
636 ….AbstractTrieNode);sre.StaticTrieNode.prototype.getRule=function(){return this.rule_};sre.StaticTr…
637 sre.StaticTrieNode.prototype.toString=function(){return this.getRule()?this.constraint+"\n==> "+thi…
641 …};goog.inherits(sre.QueryTrieNode,sre.StaticTrieNode);sre.QueryTrieNode.prototype.applyTest=functi…
642prototype.applyTest=function(a){return this.test?this.test(a):this.context_.applyConstraint(a,this…
643 sre.Trie.prototype.addNode_=function(a,b,c,d){var e=a.getChild(b);e||(e=sre.TrieNodeFactory.getNode…
644 sre.Trie.prototype.lookupRules=function(a,b){for(var c=[this.root],d=[];b.length;){for(var e=b.shif…
645prototype.hasSubtrie=function(a){for(var b=this.root,c=0,d=a.length;c<d;c++)if(b=b.getChild(a[c]),…
647 …etRule();d&&b.unshift(d)}a=a.concat(c.getChildren())}return b};sre.Trie.prototype.enumerate=functi…
648 sre.Trie.prototype.enumerate_=function(a,b){b=b||{};a=a.getChildren();for(var c=0,d;d=a[c];c++)d.ki…
649 ….parseMethods={Rule:goog.bind(this.defineRule,this)}};sre.BaseRuleStore.prototype.lookupRule=funct…
650prototype.defineRule=function(a,b,c,d,e){try{var f=sre.SpeechRule.Action.fromString(c),g=Array.pro…
651prototype.deleteRule=function(a){a=this.speechRules_.indexOf(a);-1!=a&&this.speechRules_.splice(a,…
652prototype.debugSpeechRule=function(a,b){var c=a.precondition,d=a.context.applyQuery(b,c.query);sre…
653 sre.BaseRuleStore.prototype.removeDuplicates=function(a){for(var b=this.speechRules_.length-1,c;c=t…
654 sre.BaseRuleStore.prototype.pickMostConstraint_=function(a,b){var c=sre.Engine.getInstance().compar…
655 …constraints)};sre.BaseRuleStore.prototype.getSpeechRules=function(){return this.speechRules_};sre.…
656prototype.parseCstr=function(a){return this.parser.parse(this.locale+"."+this.modality+(this.domai…
657 sre.MathStore.prototype.initialize=function(){if(!this.initialized){for(var a=0,b;b=this.initialize…
658prototype.defineUniqueRuleAlias=function(a,b,c,d){var e=this.parseCstr(b),f=this.findRule(goog.bin…
659prototype.defineRuleAlias=function(a,b,c){var d=this.findRule(function(e){return e.name==a});if(!d…
660prototype.defineRulesAlias=function(a,b,c){var d=this.findAllRules(function(g){return g.name==a});…
661 sre.MathStore.prototype.addAlias_=function(a,b,c){b=new sre.SpeechRule.Precondition(b,c);b=new sre.…
662prototype.defineSpecialisedRule=function(a,b,c,d){var e=this.parseCstr(b),f=this.findRule(goog.bin…
663 sre.MathStore.prototype.evaluateString_=function(a){var b=[];if(a.match(/^\s+$/))return b;var c=thi…
665 sre.MathStore.prototype.matchNumber_=function(a){var b=a.match(new RegExp("^"+sre.Messages.REGEXP.N…
667 …ts(sre.ClearspeakPreferences,sre.DynamicCstr);sre.ClearspeakPreferences.prototype.equal=function(a…
672 …sre.DynamicCstr.DefaultComparator);sre.ClearspeakPreferences.Comparator.prototype.match=function(a…
673 sre.ClearspeakPreferences.Comparator.prototype.compare=function(a,b){var c=sre.ClearspeakPreference…
675 sre.ClearspeakPreferences.Parser.prototype.parse=function(a){var b=sre.ClearspeakPreferences.Parser…
676prototype.fromPreference=function(a){return sre.ClearspeakPreferences.fromPreference(a)};sre.Clear…
719prototype.defineRulesFromMappings=function(a,b,c){for(var d in c)for(var e in c[d])this.defineRule…
720 sre.MathSimpleStore.prototype.lookupRule=function(a,b){a=this.getSpeechRules().filter(function(c){r…
721 …]};goog.addSingletonGetter(sre.MathCompoundStore);sre.MathCompoundStore.prototype.getSubStore_=fun…
722prototype.setupStore_=function(a,b){a.locale=this.locale;a.modality=this.modality;b&&(a.category=b…
723prototype.changeLocale_=function(a){if(!a.locale&&!a.modality)return!1;this.locale=a.locale||this.…
724prototype.addFunctionRules=function(a){if(!this.changeLocale_(a)){var b=a.names,c=a.mappings;a=a.c…
725prototype.lookupCategory=function(a){return(a=this.subStores_[a])?a.category:""};sre.MathCompoundS…
727 sre.MathMap.prototype.loadLocale=function(){var a=sre.Engine.getInstance().locale;if(-1===this.load…
728 sre.MathMap.prototype.retrieveFiles=function(a){a=sre.BaseUtil.makePath(sre.SystemExternal.jsonPath…
729prototype.parseMaps=function(a){a=JSON.parse(a);this.addMaps(a)};sre.MathMap.prototype.addMaps=fun…
730 sre.MathMap.prototype.getJsonIE_=function(a,b){var c=b||1;sre.BrowserUtil.mapsForIE?this.addMaps(sr…
731 sre.MathMap.prototype.getJsonAjax_=function(a){var b=new XMLHttpRequest,c=goog.bind(this.parseMaps,…
1525 sre.SpeechRuleEngine.prototype.parameterize=function(a){for(var b={},c=0,d=a.length;c<d;c++){var e=…
1526prototype.storeFactory_=function(a){return new ({braille:sre.BrailleStore,speech:sre.MathStore}[a]…
1527prototype.getCacheForNode_=function(a){if(!a||!a.getAttribute)return null;a=a.getAttribute("id");r…
1528prototype.pushCache_=function(a,b){sre.Engine.getInstance().cache&&a.getAttribute&&(a=a.getAttribu…
1529 sre.SpeechRuleEngine.prototype.evaluateTree_=function(a){var b=sre.Engine.getInstance();sre.Debugge…
1533 sre.SpeechRuleEngine.prototype.evaluateNodeList_=function(a,b,c,d,e,f){if(b==[])return[];var g=d||"…
1534 sre.SpeechRuleEngine.prototype.addPersonality_=function(a,b,c,d){var e={},f;for(f in sre.Engine.per…
1535prototype.addExternalAttributes_=function(a,b){if(b.hasAttributes()){b=b.attributes;for(var c=b.le…
1537 sre.SpeechRuleEngine.prototype.runInSetting=function(a,b){var c=sre.Engine.getInstance(),d={},e=nul…
1538prototype.combineStores_=function(a){var b=this.cachedStore_(a);if(b)return b;b=new sre.MathStore;…
1539prototype.cachedStore_=function(a){var b=Object.keys(a);return b.some(function(c){return!a[c].init…
1540 sre.SpeechRuleEngine.prototype.processGrammar=function(a,b,c){var d={},e;for(e in c){var f=c[e];d[e…
1541 sre.SpeechRuleEngine.prototype.updateConstraint_=function(){var a=sre.Engine.getInstance().dynamicC…
1543prototype.makeSet_=function(a,b){return b&&Object.keys(b).length?a.split(":"):[a]};sre.SpeechRuleE…
1544 sre.SpeechRuleEngine.prototype.enumerate=function(a){return this.activeStore_.trie.enumerate(a)};sr…
1551prototype.getRebuilt=function(){return this.rebuilt_};sre.AbstractSpeechGenerator.prototype.setReb…
1552prototype.getSpeech=goog.abstractMethod;sre.AbstractSpeechGenerator.prototype.start=function(){};s…
1553 sre.ColorGenerator.prototype.generateSpeech=function(a,b){this.getRebuilt()||this.setRebuilt(new sr…
1554 sre.ColorGenerator.prototype.colorLeaves_=function(a){var b=this,c=[];sre.ColorGenerator.visitStree…
1555 e,d.$jscomp$loop$prop$color$5))&&this.contrast.increment()}};sre.ColorGenerator.prototype.colorLeav…
1557prototype.getSpeech=function(a,b){return sre.WalkerUtil.getAttribute(a,this.modality)};sre.DummySp…
1558prototype.getSpeech=function(a,b){var c=this.generateSpeech(a,b);a.setAttribute(this.modality,c);v…
1559 …tion(a,b,c){this.src=a;this.type=b;this.callback=c};sre.EventUtil.Event.prototype.add=function(){t…
1560prototype.remove=function(){this.src.removeEventListener(this.type,this.callback)};sre.Focus=funct…
1561 sre.Focus.prototype.toString=function(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes_}…
1563prototype.push=function(a){this.level_.push(a)};sre.Levels.prototype.pop=function(){return this.le…
1564prototype.get=function(a){var b=this.peek();return!b||0>a||a>=b.length?null:b[a]};sre.Levels.proto…
1568 …tWalker.prototype.getXml=function(){this.xml_||(this.xml_=sre.DomUtil.parseInput(this.xmlString_))…
1569prototype.isActive=function(){return this.active_};sre.AbstractWalker.prototype.toggleActive_=func…
1570prototype.getFocus=function(a){this.focus_||(this.focus_=sre.Focus.factory(this.rootId,[this.rootI…
1571 sre.AbstractWalker.prototype.speech=function(){var a=this.getFocus().getDomNodes();if(!a.length)ret…
1572prototype.mergePrefix_=function(a,b){b=b||[];var c=this.isSpeech()?this.prefix_():"",d=sre.AuralRe…
1573prototype.move=function(a){a=this.keyMapping[a];if(!a)return null;a=a();if(!a||a===this.getFocus()…
1574prototype.right=function(){this.moved=sre.Walker.move.RIGHT;return this.getFocus()};sre.AbstractWa…
1575 sre.AbstractWalker.prototype.depth_=function(){var a=sre.Grammar.getInstance().getParameter("depth"…
1576prototype.home=function(){this.moved=sre.Walker.move.HOME;return sre.Focus.factory(this.rootId,[th…
1577prototype.expand=function(){var a=this.getFocus().getDomPrimary();a=this.actionable_(a);if(!a)retu…
1578 sre.AbstractWalker.prototype.collapsible=function(a){return!!this.actionable_(a)&&0<a.childNodes.le…
1579prototype.updateFocus=function(){this.setFocus(sre.Focus.factory(this.getFocus().getSemanticPrimar…
1580 sre.AbstractWalker.prototype.rebuildStree=function(){var a=new sre.RebuildStree(this.getXml());this…
1581 sre.AbstractWalker.prototype.previousLevel=function(){var a=this.getFocus().getDomPrimary();return …
1582 sre.AbstractWalker.prototype.nextLevel=function(){var a=this.getFocus().getDomPrimary();if(a){var b…
1583prototype.combineContentChildren=goog.abstractMethod;sre.AbstractWalker.prototype.singletonFocus=f…
1584prototype.summary=function(){this.moved=this.isSpeech()?sre.Walker.move.SUMMARY:sre.Walker.move.RE…
1585 sre.AbstractWalker.prototype.detail=function(){this.moved=this.isSpeech()?sre.Walker.move.DETAIL:sr…
1586 sre.AbstractWalker.prototype.detail_=function(){var a=this.getFocus().getSemanticPrimary().id.toStr…
1587prototype.specialMove=function(){return null};sre.AbstractWalker.prototype.virtualize=function(a){…
1588prototype.undo=function(){do var a=this.cursors.pop();while(a&&!a.undo);if(!a)return this.getFocus…
1589 sre.AbstractWalker.prototype.nextRules=function(){var a=this.generator.getOptions();if("speech"!==a…
1590 sre.AbstractWalker.prototype.nextStyle=function(a,b){if("mathspeak"===a){a=["default","brief","sbri…
1591prototype.previousRules=function(){var a=this.generator.getOptions();if("speech"!==a.modality)retu…
1592prototype.initLevels=function(){};sre.SemanticWalker=function(a,b,c,d){sre.AbstractWalker.call(thi…
1593prototype.up=function(){sre.SemanticWalker.superClass_.up.call(this);var a=this.previousLevel();if…
1594 sre.SemanticWalker.prototype.combineContentChildren=function(a,b,c,d){switch(a){case sre.SemanticAt…
1596 default:return d.map(goog.bind(this.singletonFocus,this))}};sre.SemanticWalker.prototype.combinePun…
1597prototype.makePairList=function(a,b){if(0===a.length)return[];if(1===a.length)return[this.singleto…
1598prototype.right=function(){sre.SemanticWalker.superClass_.right.call(this);var a=this.levels.index…
1599 sre.SyntaxWalker.prototype.down=function(){sre.SyntaxWalker.superClass_.down.call(this);var a=this.…
1600 sre.SyntaxWalker.prototype.combineContentChildren=function(a,b,c,d){switch(a){case sre.SemanticAttr…
1601 …ticAttr.Type.ROOT:return[d[1],d[0]];default:return d}};sre.SyntaxWalker.prototype.left=function(){…
1602prototype.right=function(){sre.SyntaxWalker.superClass_.right.call(this);var a=this.levels.indexOf…
1604prototype.move=function(a){this.key_=a;a=sre.TableWalker.superClass_.move.call(this,a);this.modifi…
1606 sre.TableWalker.prototype.eligibleCell_=function(){var a=this.getFocus().getSemanticPrimary();retur…
1607 sre.TableWalker.prototype.verticalMove_=function(a){var b=this.previousLevel();if(!b)return null;va…
1608 sre.TableWalker.prototype.jumpCell=function(){if(!this.isInTable_()||null===this.key_)return this.g…
1609 sre.TableWalker.prototype.jumpCell_=function(a,b){this.firstJump?this.virtualize(!1):(this.firstJum…
1610 sre.TableWalker.prototype.isLegalJump_=function(a,b){var c=sre.DomUtil.querySelectorAllByAttrValue(…
1611prototype.isInTable_=function(){for(var a=this.getFocus().getSemanticPrimary();a;){if(-1!==sre.Tab…
1620 sre.System.prototype.setupEngine=function(a){var b=sre.Engine.getInstance(),c=function(d){b[d]=a[d]…
1621 b.setDynamicCstr();sre.L10n.setLocale()};sre.System.prototype.configBlocks_=function(a){if(!sre.Eng…
1622prototype.engineSetup=function(){var a=["mode"].concat(sre.Engine.STRING_FEATURES,sre.Engine.BINAR…
1623prototype.toSpeech=function(a){return sre.System.getInstance().processString("speech",a)};sre.Syst…
1624prototype.toEnriched=function(a){return sre.System.getInstance().processString("enriched",a)};sre.…
1625prototype.fileToDescription=function(a,b){sre.System.getInstance().processFile("description",a,b)}…
1626prototype.inputFileSync_=function(a){try{var b=sre.SystemExternal.fs.readFileSync(a,{encoding:"utf…
1627prototype.inputFileAsync_=function(a,b){sre.SystemExternal.fs.readFile(a,{encoding:"utf8"},goog.bi…
1628 sre.System.prototype.walk=function(a){return sre.ProcessorFactory.output("walker",a)};sre.System.pr…