var searchIndex = {}; searchIndex["handlebars"] = {"doc":"# Handlebars\nHandlebars is a modern and extensible templating solution originally created in the JavaScript world. It's used by many popular frameworks like [Ember.js](http://emberjs.com) and Chaplin. It's also ported to some other platforms such as [Java](https://github.com/jknack/handlebars.java).","items":[[3,"Template","handlebars","",null,null],[12,"name","","",0,null],[12,"elements","","",0,null],[3,"Handlebars","","",null,null],[3,"RenderError","","",null,null],[12,"desc","","",1,null],[3,"RenderContext","","The context of a render call",null,null],[12,"writer","","the `Write` where page is generated",2,null],[12,"current_template","","current template name",2,null],[12,"root_template","","root template name",2,null],[3,"Helper","","",null,null],[3,"Context","","The context wrap data you render on your templates.",null,null],[4,"TemplateError","","Template parsing error",null,null],[13,"UnclosedBraces","","",3,null],[13,"UnexpectedClosingBraces","","",3,null],[13,"MismatchingClosedHelper","","",3,null],[13,"UnclosedHelper","","",3,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"new","","",0,{"inputs":[],"output":{"name":"template"}}],[11,"compile","","",0,{"inputs":[{"name":"s"}],"output":{"name":"result"}}],[11,"compile_with_name","","",0,{"inputs":[{"name":"s"},{"name":"string"}],"output":{"name":"result"}}],[11,"to_string","","",0,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"description","","",3,null],[11,"cause","","",3,null],[11,"new","","",4,{"inputs":[],"output":{"name":"registry"}}],[11,"register_template","","",4,null],[11,"register_template_string","","",4,null],[11,"unregister_template","","",4,null],[11,"register_helper","","",4,null],[11,"register_escape_fn","","Register a new *escape fn* to be used from now on by this registry.",4,null],[11,"unregister_escape_fn","","Restore the default *escape fn*.",4,null],[11,"get_escape_fn","","Get a reference to the current *escape fn*.",4,null],[11,"get_template","","",4,null],[11,"get_helper","","",4,null],[11,"get_templates","","",4,null],[11,"clear_templates","","",4,null],[11,"render","","",4,null],[11,"renderw","","",4,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"from","","",1,{"inputs":[{"name":"ioerror"}],"output":{"name":"rendererror"}}],[11,"new","","",1,{"inputs":[{"name":"t"}],"output":{"name":"rendererror"}}],[11,"new","","Create a render context from a `Write`",2,{"inputs":[{"name":"write"}],"output":{"name":"rendercontext"}}],[11,"with_writer","","Create a new `RenderContext` with a different `Write`",2,null],[11,"get_partial","","",2,null],[11,"set_partial","","",2,null],[11,"get_path","","",2,null],[11,"set_path","","",2,null],[11,"set_local_var","","",2,null],[11,"clear_local_vars","","",2,null],[11,"promote_local_vars","","",2,null],[11,"demote_local_vars","","",2,null],[11,"get_local_var","","",2,null],[11,"writer","","",2,null],[11,"fmt","","",2,null],[11,"name","","",5,null],[11,"params","","",5,null],[11,"param","","",5,null],[11,"hash","","",5,null],[11,"hash_get","","",5,null],[11,"template","","",5,null],[11,"inverse","","",5,null],[11,"is_block","","",5,null],[11,"render","","",0,null],[11,"fmt","","",6,null],[11,"null","","Create a context with null data",6,{"inputs":[],"output":{"name":"context"}}],[11,"wraps","","Create a context with given data",6,{"inputs":[{"name":"t"}],"output":{"name":"context"}}],[11,"extend","","Extend current context with another JSON object\nIf current context is a JSON object, it's identical to a normal merge\nOtherwise, the current value will be stored in new JSON object with key `this`, and merged\nkeys are also available.",6,null],[11,"navigate","","Navigate the context with base path and relative path\nTypically you will set base path to `RenderContext.get_path()`\nand set relative path to helper argument or so.",6,null],[6,"EscapeFn","","This type represents an *escape fn*, that is a function who's purpose it is\nto escape potentially problematic characters in a string.",null,null],[8,"Renderable","","",null,null],[10,"render","","",7,null],[8,"HelperDef","","Helper Definition",null,null],[10,"call","","",8,null],[8,"JsonRender","","",null,null],[10,"render","","",9,null],[8,"JsonTruthy","","",null,null],[10,"is_truthy","","",10,null]],"paths":[[3,"Template"],[3,"RenderError"],[3,"RenderContext"],[4,"TemplateError"],[3,"Handlebars"],[3,"Helper"],[3,"Context"],[8,"Renderable"],[8,"HelperDef"],[8,"JsonRender"],[8,"JsonTruthy"]]}; initSearch(searchIndex);