var searchIndex = {}; searchIndex["l20n"] = {"doc":"L20n implementation for localization","items":[[3,"Locale","l20n","A Locale contains all the resources for a specific language.",null,null],[3,"ParseError","","An error occurred trying to parse an L20n resource. The L20n file is\ninvalid.",null,null],[12,"kind","","The kind of error.",0,null],[12,"line","","The line where the error occurred.",0,null],[12,"col","","The column where the error occurred.",0,null],[4,"LocalizeError","","An enum of the various errors that can occur during localization.",null,null],[13,"DecodeError","","Wraps a DecodeError.",1,null],[13,"EncodeError","","Wraps an EncodeError.",1,null],[13,"ResolveError","","Wraps a ResolveError.",1,null],[4,"EncodeError","","Errors that occur encoding environment data into something the L20n\nresources can use.",null,null],[13,"UnsupportedType","","Type is not usable in L20n.",2,null],[13,"KeyIsNotString","","Maps in L20n require keys to be Strings.",2,null],[13,"MissingElements","","A map element is missing.",2,null],[4,"ResolveError","","Errors that can occur when resolving a set of l20n resources into strings.\nThese errors are cause by problems in the l20n file, or incorrect Data\nprovided when localizing.",null,null],[13,"WrongType","","A resource received a value of the wrong type.",3,null],[13,"WrongNumberOfArgs","","A macro was called with the wrong number of arguments.",3,null],[13,"MissingIndex","","Accessed an index of a Hash that does not exist.",3,null],[13,"MissingAttr","","Accessed an attribute of an entity that does not exist.",3,null],[13,"MissingVar","","Tried to use a $var that did not exist in the provided Data.",3,null],[13,"MissingIdent","","A string tried to use another string in the l20n resource that did not\nexist.",3,null],[4,"ParseErrorKind","","The description of the ParseError that occurred.",null,null],[13,"IdentifierError","","Illegal syntax for an identifier.",4,null],[13,"EntryError","","Illegal syntax for an entry.",4,null],[13,"EntityError","","Illegal syntax for an entity.",4,null],[13,"MacroError","","Illegal syntax for a macro.",4,null],[13,"ExprError","","Illegal syntax for an expression.",4,null],[13,"OpError","","Illegal syntax for an operator.",4,null],[13,"ParenError","","Illegal syntax for an expression wrapped in parenthesis.",4,null],[13,"AttrError","","Illegal syntax for an attribute.",4,null],[13,"CallError","","Illegal syntax for a call expression (calling a macro).",4,null],[13,"ValueError","","Illegal syntax for a value, when a value was expected.",4,null],[13,"VarError","","Illegal syntax for a $var.",4,null],[13,"StrError","","Illegal syntax for a "String".",4,null],[13,"HashError","","Illegal syntax for a Hash.",4,null],[11,"fmt","","",3,null],[11,"fmt","","",2,null],[11,"fmt","","",1,null],[11,"new","","Creates a new empty Locale.",5,{"inputs":[],"output":{"name":"locale"}}],[11,"add_resource","","Add a L20n string resource, and it will be parsed.",5,null],[11,"localize","","Resolves all the resouces into Strings, and returns a Deserialize\nobject of your choosing.",5,null],[11,"localize_data","","Same as `localize`, but you provide environment Data for the L20n\nfiles to use.",5,null],[11,"fmt","","",0,null],[11,"clone","","",4,null],[11,"eq","","",4,null],[11,"fmt","","",4,null],[6,"LocalizeResult","","A Result of trying to localize.",null,null]],"paths":[[3,"ParseError"],[4,"LocalizeError"],[4,"EncodeError"],[4,"ResolveError"],[4,"ParseErrorKind"],[3,"Locale"]]}; initSearch(searchIndex);