Module ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias alias alias Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return BinOpAdd NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str For NameStore ListLoad Str Str body Assign NameStore Call NameLoad NameLoad If NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Dict NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMod Str TupleLoad NameLoad Assign NameStore Dict Assign NameStore ListLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Str attr NameLoad If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list
N/A twisted.python.procutils which twisted.python.util sibpath N/A nevow nevow.athena LivePage allJavascriptPackages AthenaModule jsModuleDeclaration N/A _TEST_BOOTSTRAP N/A N/A LivePage BOOTSTRAP_MODULES N/A N/A N/A N/A _TEST_BOOTSTRAP insert N/A N/A _TEST_BOOTSTRAP index Divmod.Runtime Divmod.MockBrowser N/A _DUMMY_MODULE_NAME ConsoleJSTest getDependencies N/A N/A fname ignore bootstrap packages N/A N/A _TEST_BOOTSTRAP None N/A N/A 
    Get the javascript modules that the code in the file with name C{fname}
    depends on, recursively

    @param fname: javascript source file name
    @type fname: C{str}

    @param ignore: names of javascript modules to exclude from dependency list
    @type ignore: sequence

    @param bootstrap: names of javascript modules to always include, regardless
    of explicit dependencies (defaults to L{LivePage}'s list of bootstrap
    modules, plus the mock browser implementation.)
    @type boostrap: sequence

    @param packages: all javascript packages we know about.  defaults to the
    result of L{allJavascriptPackages}
    @type packages: C{dict}

    @return: modules included by javascript in file named C{fname}
    @rtype: dependency-ordered list of L{AthenaModule} instances
     N/A N/A packages None N/A N/A packages N/A allJavascriptPackages N/A bootstrapModules N/A N/A N/A AthenaModule getOrCreate m packages N/A m bootstrap N/A m ignore N/A N/A packages N/A _DUMMY_MODULE_NAME fname N/A module N/A AthenaModule _DUMMY_MODULE_NAME packages N/A N/A bootstrapModules N/A dep N/A dep N/A N/A module allDependencies N/A N/A N/A dep name bootstrap N/A N/A dep name _DUMMY_MODULE_NAME N/A N/A dep name ignore N/A findJavascriptInterpreter N/A N/A N/A N/A N/A 
    Return a string path to a JavaScript interpreter if one can be found in
    the executable path. If not, return None.
     N/A script N/A smjs js N/A N/A _jsInterps N/A which script N/A _jsInterps N/A N/A N/A _jsInterps N/A 0 N/A None N/A generateTestScript N/A N/A fname after dependencies N/A N/A None N/A N/A 
    Turn the contents of the Athena-style javascript test module in the file
    named C{fname} into a plain javascript script.  Recursively includes any
    modules that are depended on, as well as the utility module
    nevow/test/testsupport.js.

    @param fname: javascript source file name
    @type fname: C{str}

    @param after: mapping of javascript module names to sequences of lines of
    javascript source that should be injected into the output immediately
    after the source of the named module is included
    @type after: C{dict}

    @param dependencies: the modules the script depends on.  Defaults to the
    result of L{getDependencies}
    @type dependencies: dependency-ordered list of L{AthenaModule} instances

    @return: converted javascript source text
    @rtype: C{str}
     N/A N/A dependencies None N/A N/A dependencies N/A getDependencies fname N/A load N/A N/A N/A fname N/A N/A load(%r); N/A fname N/A initialized N/A N/A js N/A N/A load N/A sibpath N/A nevow __file__ test/testsupport.js N/A m dependencies N/A N/A segments N/A N/A N/A m name split . N/A N/A N/A segments N/A -1 __init__ N/A N/A segments N/A segments N/A -1 N/A initname N/A N/A . join segments N/A N/A initname initialized N/A N/A N/A initialized N/A initname 1 N/A N/A N/A js append N/A jsModuleDeclaration initname N/A N/A N/A js append N/A load N/A N/A m mapping N/A N/A m name N/A N/A N/A m name after N/A N/A N/A N/A js extend N/A after N/A N/A m name N/A N/A N/A js append N/A N/A N/A file fname read N/A N/A N/A join js N/A