Module Expr Str Import alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str For NameStore NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr AttributeLoad NameLoad attr Str Str NameLoad Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body TryExcept body If BoolOpAnd Call NameLoad Call NameLoad NameLoad NameLoad NameLoad CompareNotIn NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call NameLoad Call NameLoad NameLoad NameLoad NameLoad CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body TryExcept body If BoolOpOr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad handlers ExceptHandler body Pass If CompareGt Call NameLoad NameLoad Num body If CompareIn Str NameLoad body Assign NameStore Str orelse Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str If CompareNotIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpMod Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd BinOpAdd BinOpMult Str Num BinOpMod Str Call NameLoad Str AugAssignAdd NameStore BinOpAdd BinOpMult Str Num BinOpMod Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A  Generates a file containing definitions for all of the editors defined in
the WX backend.
 N/A os glob sys traitsui.api Editor traitsui.editor_factory EditorFactory gen_editor_definitions N/A N/A target_filename N/A N/A N/A  Generates a file containing definitions for all of the editors
    defined in the Qt backend.
     N/A target_file N/A open target_filename w N/A dirpath N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A editor_files N/A N/A N/A root dirs files N/A N/A os walk dirpath N/A N/A N/A .svn dirs N/A N/A N/A N/A dirs remove .svn N/A N/A N/A editor_files extend N/A N/A glob glob N/A N/A N/A os path join root *_editor.py N/A absfilename editor_files N/A N/A N/A dirname filename N/A N/A N/A N/A os path dirname absfilename N/A N/A N/A N/A N/A os path basename absfilename rstrip .py N/A import_path N/A N/A N/A traitsui.wx N/A N/A N/A N/A dirname replace dirpath replace N/A os sep . . filename N/A N/A __import__ import_path N/A module N/A N/A sys modules N/A import_path N/A class_names N/A N/A name N/A dir module N/A N/A N/A N/A N/A N/A issubclass N/A getattr module name EditorFactory N/A name N/A EditorFactory BasicEditorFactory N/A N/A N/A N/A class_names append name N/A N/A N/A N/A issubclass N/A getattr module name Editor N/A name Editor N/A N/A N/A N/A class_names append name N/A N/A N/A N/A N/A N/A N/A N/A isinstance N/A getattr module name EditorFactory N/A isinstance N/A getattr module name Editor N/A N/A N/A N/A class_names insert 0 name N/A N/A N/A N/A N/A N/A N/A len class_names 0 N/A N/A N/A ToolkitEditorFactory class_names N/A N/A class_name ToolkitEditorFactory N/A N/A class_name N/A N/A join N/A N/A N/A name capitalize N/A name N/A N/A filename split _ N/A N/A class_name class_names N/A N/A class_name N/A class_names N/A 0 N/A function N/A def %(filename)s(*args, **traits): N/A locals N/A N/A N/A target_file write function N/A N/A N/A target_file write N/A func_code N/A N/A N/A 4 N/A import %(import_path)s as editor N/A locals N/A func_code N/A N/A 4 N/A return editor.%(class_name)s(*args, **traits) N/A locals N/A N/A N/A target_file write func_code N/A N/A N/A target_file write N/A N/A N/A target_file close N/A