Module Import alias Import alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad SubscriptLoad NameLoad Index Num body If CompareEq Call NameLoad NameLoad Num body Expr Yield TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad orelse If Call NameLoad NameLoad NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index NameLoad body Expr Yield NameLoad For NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Yield NameLoad decorator_list If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad orelse Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr Dict NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Str Call AttributeLoad NameLoad attr Dict NameLoad NameLoad NameLoad orelse Print Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad orelse If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Print BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr Dict NameLoad NameLoad NameLoad orelse Print Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Num Return Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Call NameLoad
N/A N/A logging N/A simplejson json optparse OptionParser TitledHelpFormatter fnmatch fnmatch turbulenz_tools.utils.disassembler Json2htmlRenderer Json2txtRenderer Json2txtColourRenderer Disassembler turbulenz_tools.tools.stdtool simple_options N/A __version__ 1.0.0 N/A __dependencies__ N/A turbulenz_tools.utils.disassembler N/A LOG N/A N/A logging getLogger __name__ _parser N/A N/A N/A N/A N/A parser N/A OptionParser description Generate a plain text or html output from a JSON asset. (plain text by default) usage %prog -i input.json [-o output.html] [options] formatter N/A TitledHelpFormatter N/A N/A N/A parser add_option --version action store_true dest output_version default False help output version number N/A N/A N/A parser add_option -v --verbose action store_true dest verbose default False help verbose output N/A N/A N/A parser add_option -s --silent action store_true dest silent default False help silent running N/A N/A N/A parser add_option -i --input action store dest input help input file to process N/A N/A N/A parser add_option -o --output action store dest output help output file to process N/A N/A N/A parser add_option -l --listcull action store dest listcull type int default 3 metavar NUMBER help parameter of the list culling size. 0 - show all (defaults to 3) N/A N/A N/A parser add_option -c --dictcull action store dest dictcull type int default 3 metavar NUMBER help parameter of the dictionary culling size. 0 - show all (defaults to 3) N/A N/A N/A parser add_option -p --path action store dest path type str default None help path of the required node in the asset tree structure (wildcards allowed) N/A N/A N/A parser add_option -d --depth action store dest depth type int default 2 metavar NUMBER help parameter of the dictionary and list rendering depth (defaults to 2). N/A N/A N/A parser add_option --html action store_true dest html default False help output in html format N/A N/A N/A parser add_option --txt action store_true dest txt default False help output in plain text format N/A N/A N/A parser add_option --color action store_true dest color default False help option to turn on the coloured text output N/A parser N/A main N/A N/A N/A N/A N/A N/A options args_ parser_ N/A simple_options _parser __version__ __dependencies__ N/A source_file N/A options input N/A N/A N/A LOG info %s %s __file__ source_file N/A N/A N/A LOG info input: %s source_file N/A N/A N/A N/A open source_file r source N/A N/A json_asset N/A N/A json load source find_node N/A N/A nodes sub_asset N/A N/A N/A N/A k v N/A N/A sub_asset iteritems N/A N/A N/A fnmatch k N/A nodes N/A 0 N/A N/A N/A N/A len nodes 1 N/A N/A N/A N/A k N/A sub_asset N/A k N/A N/A N/A isinstance v dict N/A N/A n N/A find_node N/A nodes N/A 1 N/A sub_asset N/A k N/A N/A N/A n N/A n N/A find_node nodes N/A sub_asset N/A k N/A N/A N/A n N/A N/A N/A options path N/A N/A node_list N/A N/A N/A options path split / N/A N/A options html N/A N/A renderer N/A Json2htmlRenderer N/A N/A N/A options color N/A N/A renderer N/A Json2txtColourRenderer N/A N/A renderer N/A Json2txtRenderer N/A disassembler N/A Disassembler renderer N/A options listcull N/A options dictcull N/A options depth N/A expand True N/A N/A options output N/A N/A N/A open N/A options output w target N/A N/A N/A options path N/A N/A N/A name node N/A find_node node_list json_asset N/A N/A N/A N/A target write N/A N/A name :  N/A N/A disassembler mark_up_asset N/A name node expand N/A N/A N/A target write N/A N/A N/A N/A target write N/A N/A disassembler mark_up_asset N/A root json_asset expand N/A N/A N/A target write N/A N/A N/A options color N/A N/A N/A options path N/A N/A N/A name node N/A find_node node_list json_asset N/A N/A N/A N/A N/A N/A [;31m name [;m :  N/A N/A disassembler mark_up_asset N/A name node expand N/A N/A N/A N/A disassembler mark_up_asset N/A root json_asset expand N/A N/A N/A options path N/A N/A N/A name node N/A find_node node_list json_asset N/A N/A N/A N/A name :  N/A N/A disassembler mark_up_asset N/A name node expand N/A N/A N/A N/A disassembler mark_up_asset N/A root json_asset expand N/A N/A N/A IOError N/A e N/A N/A N/A N/A LOG error e N/A N/A e errno N/A N/A Exception N/A e N/A N/A N/A N/A LOG critical Unexpected exception: %s e N/A 1 N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A exit N/A main