var searchIndex = {}; searchIndex["alfred"] = {"doc":"Helpers for writing Alfred XML output","items":[[3,"Item","alfred","Representation of an `<item>`",null,null],[12,"title","","Title for the item",0,null],[12,"subtitle","","Subtitle for the item",0,null],[12,"icon","","Icon for the item",0,null],[12,"uid","","Identifier for the results",0,null],[12,"arg","","The value that is passed to the next portion of the workflow when this\nitem is selected",0,null],[12,"type_","","What type of result this is",0,null],[12,"valid","","Whether or not the result is valid",0,null],[12,"autocomplete","","Autocomplete data for the item",0,null],[12,"text_copy","","What text the user gets when copying the result",0,null],[12,"text_large_type","","What text the user gets when displaying large type",0,null],[3,"ItemBuilder","","Helper for building `Item` values",null,null],[3,"XMLWriter","","Helper struct used to manage the XML serialization of `Item`s",null,null],[4,"Modifier","","Keyboard modifiers",null,null],[13,"Command","","Command key",1,null],[13,"Option","","Option/Alt key",1,null],[13,"Control","","Control key",1,null],[13,"Shift","","Shift key",1,null],[13,"Fn","","Fn key",1,null],[4,"Icon","","Item icons",null,null],[13,"Path","","Path to an image file on disk relative to the workflow directory",2,null],[13,"File","","Path to a file whose icon will be used",2,null],[13,"FileType","","UTI for a file type to use (e.g. public.folder)",2,null],[4,"ItemType","","Item types",null,null],[13,"Default","","Default type for an item",3,null],[13,"File","","Type representing a file",3,null],[13,"FileSkipCheck","","Type representing a file, with filesystem checks skipped",3,null],[5,"write_items","","Writes a complete XML document representing the `Item`s to the `Write`",null,null],[11,"clone","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"new","","Returns a new `Item` with the given title",0,{"inputs":[{"name":"s"}],"output":{"name":"item"}}],[11,"clone","","",4,null],[11,"new","","Returns a new `ItemBuilder` with the given title",4,{"inputs":[{"name":"s"}],"output":{"name":"itembuilder"}}],[11,"into_item","","Returns the built `Item`",4,null],[11,"title","","Sets the `title` to the given value",4,null],[11,"subtitle","","Sets the default `subtitle` to the given value",4,null],[11,"subtitle_mod","","Sets the `subtitle` to the given value with the given modifier",4,null],[11,"icon_path","","Sets the `icon` to an image file on disk",4,null],[11,"icon_file","","Sets the `icon` to the icon for a given file on disk",4,null],[11,"icon_filetype","","Sets the `icon` to the icon for a given file type",4,null],[11,"uid","","Sets the `uid` to the given value",4,null],[11,"arg","","Sets the `arg` to the given value",4,null],[11,"type_","","Sets the `type` to the given value",4,null],[11,"valid","","Sets `valid` to the given value",4,null],[11,"autocomplete","","Sets `autocomplete` to the given value",4,null],[11,"text_copy","","Sets `text_copy` to the given value",4,null],[11,"text_large_type","","Sets `text_large_type` to the given value",4,null],[11,"set_title","","Sets the `title` to the given value",4,null],[11,"set_subtitle","","Sets the default `subtitle` to the given value",4,null],[11,"unset_subtitle","","Unsets the default `subtitle`",4,null],[11,"set_subtitle_mod","","Sets the `subtitle` to the given value for the given modifier",4,null],[11,"unset_subtitle_mod","","Unsets the `subtitle` for the given modifier",4,null],[11,"clear_subtitle","","Clears the `subtitle` for all modifiers",4,null],[11,"set_icon_path","","Sets the `icon` to an image file on disk",4,null],[11,"set_icon_file","","Sets the `icon` to the icon for a given file on disk",4,null],[11,"set_icon_filetype","","Sets the `icon` to the icon for a given file type",4,null],[11,"unset_icon","","Unsets the `icon`",4,null],[11,"set_uid","","Sets the `uid` to the given value",4,null],[11,"unset_uid","","Unsets the `uid`",4,null],[11,"set_arg","","Sets the `arg` to the given value",4,null],[11,"unset_arg","","Unsets the `arg`",4,null],[11,"set_type","","Sets the `type` to the given value",4,null],[11,"set_valid","","Sets `valid` to the given value",4,null],[11,"set_autocomplete","","Sets `autocomplete` to the given value",4,null],[11,"unset_autocomplete","","Unsets `autocomplete`",4,null],[11,"set_text_copy","","Sets `text_copy` to the given value",4,null],[11,"unset_text_copy","","Unsets `text_copy`",4,null],[11,"set_text_large_type","","Sets `text_large_type` to the given value",4,null],[11,"unset_text_large_type","","Unsets `text_large_type`",4,null],[11,"eq","","",1,null],[11,"hash","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"clone","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",3,null],[11,"eq","","",3,null],[11,"new","","Returns a new `XMLWriter` that writes to the given `Write`",5,{"inputs":[{"name":"w"}],"output":{"name":"result"}}],[11,"write_item","","Writes an `Item` to the underlying `Write`",5,null],[11,"close","","Consumes the `XMLWriter` and writes the XML footer",5,null],[11,"drop","","",5,null],[11,"write_xml","","Writes the XML fragment representing the `Item` to the `Write`",0,null]],"paths":[[3,"Item"],[4,"Modifier"],[4,"Icon"],[4,"ItemType"],[3,"ItemBuilder"],[3,"XMLWriter"]]}; initSearch(searchIndex);