Module Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str Import alias Assign NameStore NameLoad Assign NameStore ListLoad NameLoad Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Return If CompareEq NameLoad NameLoad body Return Exec BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword ListLoad Str Str Str Assign NameStore Str Assign NameStore BinOpMod NameLoad Dict Str Str Str NameLoad NameLoad NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore BinOpMod Str NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Global identifier Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A spidermonkey N/A sys os.path join dirname basename abspath optparse OptionParser N/A usage 
  usage: %prog [options] <application module name or path>
 N/A currentdir N/A abspath N/A dirname N/A dirname __file__ N/A builddir N/A abspath .. N/A N/A N/A N/A sys path append N/A join builddir pyjs N/A pyjs N/A file_name None N/A app_library_dirs N/A currentdir N/A join builddir library/builtins N/A join builddir library N/A join builddir addons N/A cx None pysm_print_fn N/A N/A arg N/A N/A N/A arg N/A pysm_import_module N/A N/A parent_name module_name N/A N/A N/A N/A N/A module_name sys N/A module_name pyjslib N/A N/A N/A N/A module_name file_name N/A N/A N/A N/A import %s as _module module_name N/A N/A N/A cx add_global module_name _module N/A main N/A N/A N/A N/A N/A file_name N/A parser N/A OptionParser usage usage N/A N/A N/A pyjs add_compile_options parser N/A N/A N/A parser add_option -o --output dest output help File to which the generated javascript should be written N/A N/A N/A parser add_option -i --input dest input help File from which the generated javascript should be read N/A N/A N/A parser set_defaults output None input None N/A N/A options args N/A N/A parser parse_args N/A file_name N/A args N/A 0 N/A N/A N/A len args 1 N/A N/A module_name N/A args N/A 1 N/A N/A module_name None N/A debug 0 N/A N/A options input N/A N/A txt N/A N/A N/A open N/A options input r read N/A N/A parser N/A N/A pyjs PlatformParser platform verbose False N/A N/A N/A parser setPlatform pysm N/A N/A N/A file_name endswith .py N/A N/A file_name N/A file_name N/A -3 N/A app_translator N/A N/A pyjs AppTranslator app_library_dirs parser verbose False debug N/A options debug print_statements N/A options print_statements function_argument_checking N/A options function_argument_checking attribute_checking N/A options attribute_checking source_tracking N/A options source_tracking line_tracking N/A options line_tracking store_source N/A options store_source N/A N/A app_libs txt N/A N/A app_translator translate file_name debug debug library_modules N/A _pyjs.js sys pyjslib N/A template 
var $pyjs = new Object();
$pyjs.modules = {};
$pyjs.modules_hash = {};
$pyjs.options = new Object();
$pyjs.options.set_all = function (v) {
    $pyjs.options.arg_ignore = v;
    $pyjs.options.arg_count = v;
    $pyjs.options.arg_is_instance = v;
    $pyjs.options.arg_instance_type = v;
    $pyjs.options.arg_kwarg_dup = v;
    $pyjs.options.arg_kwarg_unexpected_keyword = v;
    $pyjs.options.arg_kwarg_multiple_values = v;
}
$pyjs.options.set_all(true);
$pyjs.trackstack = [];
$pyjs.track = {module:'__main__', lineno: 1};
$pyjs.trackstack.push($pyjs.track);
%(app_libs)s


%(module)s

 N/A txt N/A template N/A app_libs module_name module app_libs file_name txt N/A txt sys();
 N/A txt pyjslib();
 N/A txt N/A %s();
 file_name N/A N/A options output N/A N/A fp N/A open N/A options output w N/A N/A N/A fp write txt N/A N/A N/A fp close N/A rt N/A N/A spidermonkey Runtime N/A cx N/A cx N/A N/A rt new_context N/A N/A N/A cx add_global pysm_print_fn pysm_print_fn N/A N/A N/A cx add_global pysm_import_module pysm_import_module N/A N/A N/A cx execute txt N/A N/A N/A __name__ __main__ N/A N/A N/A main