Module Import alias Import alias ImportFrom alias ImportFrom alias identifier alias ImportFrom alias alias ImportFrom alias Assign NameStore ListLoad Str Str Str Assign NameStore Dict Str Str ListLoad Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str ListLoad Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If CompareEq NameLoad Num body Expr Yield NameLoad orelse Expr Yield NameLoad decorator_list If CompareIn NameLoad NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore DictComp NameLoad ListComp TupleLoad NameLoad ListComp Call NameLoad Call NameLoad NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str ListComp Call NameLoad Call NameLoad NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str comprehension NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list
N/A N/A json N/A subprocess os path pygments lexers pgl util languages LANGS LANGS_ALL python parse_py N/A __all__ N/A parse UnsupportedFileError start_parse_servers N/A PARSER_COMMANDS N/A Java Ruby N/A java -cp N/A N/A path join N/A N/A path dirname __file__ ../../parsers/java/parsing.jar com.bitshift.parsing.Parse N/A rake -f N/A N/A path join N/A N/A path dirname __file__ ../../parsers/ruby/Rakefile parse UnsupportedFileError N/A Exception N/A N/A N/A _lang N/A N/A codelet N/A N/A N/A 
    Private function to identify the language of a codelet.

    :param codelet: The codelet object to identified.

    :type code: Codelet

    .. todo::
        Modify function to incorporate tags from stackoverflow.
     N/A N/A N/A N/A codelet filename N/A N/A lex N/A N/A pgl guess_lexer_for_filename N/A codelet filename N/A codelet code N/A N/A lex N/A N/A pgl guess_lexer N/A codelet code N/A N/A LANGS_ALL N/A N/A lex name N/A N/A N/A N/A N/A util ClassNotFound KeyError N/A N/A N/A UnsupportedFileError N/A codelet filename N/A parse_via_proc N/A N/A codelet N/A N/A N/A proc N/A N/A subprocess Popen N/A PARSER_COMMANDS N/A N/A LANGS N/A N/A codelet language stdin N/A subprocess PIPE stdout N/A subprocess PIPE N/A data N/A N/A N/A proc communicate N/A codelet code N/A 0 N/A symbols N/A N/A json loads data N/A symbols N/A N/A PARSERS N/A Python Java Ruby parse_py parse_via_proc parse_via_proc parse N/A N/A codelet N/A N/A N/A 
    Dispatches the codelet to the correct parser based on its language.
        It is the job of the respective parsers to accumulate data about the
        code and to convert it into a string representing a python dict.
        The codelet is then given dict as its 'symbols' field.

    :param codelet: The codelet object to parsed.

    :type code: Codelet
     N/A lang N/A _lang codelet N/A lang_string N/A LANGS N/A lang N/A N/A codelet language lang loc_helper N/A N/A l N/A N/A N/A i l N/A N/A N/A i -1 N/A N/A N/A None N/A N/A N/A i N/A N/A N/A lang_string PARSERS N/A N/A symbols N/A N/A PARSERS N/A lang_string codelet N/A symbols N/A key N/A N/A name N/A N/A tuple N/A loc_helper loc N/A loc N/A N/A syms N/A name N/A assignments N/A N/A tuple N/A loc_helper loc N/A loc N/A N/A syms N/A name N/A uses N/A name syms N/A N/A key syms N/A N/A symbols iteritems N/A N/A codelet symbols symbols N/A