mirror of https://github.com/python/cpython
191 lines
5.3 KiB
Python
191 lines
5.3 KiB
Python
"""
|
|
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
|
|
"""
|
|
import aetools
|
|
Error = aetools.Error
|
|
import CodeWarrior_suite
|
|
import Standard_Suite
|
|
import Metrowerks_Shell_Suite
|
|
import Required
|
|
|
|
|
|
_code_to_module = {
|
|
'CWIE' : CodeWarrior_suite,
|
|
'CoRe' : Standard_Suite,
|
|
'MMPR' : Metrowerks_Shell_Suite,
|
|
'reqd' : Required,
|
|
}
|
|
|
|
|
|
|
|
_code_to_fullname = {
|
|
'CWIE' : ('CodeWarrior.CodeWarrior_suite', 'CodeWarrior_suite'),
|
|
'CoRe' : ('CodeWarrior.Standard_Suite', 'Standard_Suite'),
|
|
'MMPR' : ('CodeWarrior.Metrowerks_Shell_Suite', 'Metrowerks_Shell_Suite'),
|
|
'reqd' : ('CodeWarrior.Required', 'Required'),
|
|
}
|
|
|
|
from CodeWarrior_suite import *
|
|
from Standard_Suite import *
|
|
from Metrowerks_Shell_Suite import *
|
|
from Required import *
|
|
|
|
def getbaseclasses(v):
|
|
if not getattr(v, '_propdict', None):
|
|
v._propdict = {}
|
|
v._elemdict = {}
|
|
for superclassname in getattr(v, '_superclassnames', []):
|
|
superclass = eval(superclassname)
|
|
getbaseclasses(superclass)
|
|
v._propdict.update(getattr(superclass, '_propdict', {}))
|
|
v._elemdict.update(getattr(superclass, '_elemdict', {}))
|
|
v._propdict.update(getattr(v, '_privpropdict', {}))
|
|
v._elemdict.update(getattr(v, '_privelemdict', {}))
|
|
|
|
import StdSuites
|
|
|
|
#
|
|
# Set property and element dictionaries now that all classes have been defined
|
|
#
|
|
getbaseclasses(character)
|
|
getbaseclasses(text)
|
|
getbaseclasses(window)
|
|
getbaseclasses(file)
|
|
getbaseclasses(line)
|
|
getbaseclasses(selection_2d_object)
|
|
getbaseclasses(application)
|
|
getbaseclasses(insertion_point)
|
|
getbaseclasses(document)
|
|
getbaseclasses(single_class_browser)
|
|
getbaseclasses(project_document)
|
|
getbaseclasses(symbol_browser)
|
|
getbaseclasses(editor_document)
|
|
getbaseclasses(file_compare_document)
|
|
getbaseclasses(class_browser)
|
|
getbaseclasses(subtarget)
|
|
getbaseclasses(message_document)
|
|
getbaseclasses(project_inspector)
|
|
getbaseclasses(text_document)
|
|
getbaseclasses(catalog_document)
|
|
getbaseclasses(class_hierarchy)
|
|
getbaseclasses(target)
|
|
getbaseclasses(build_progress_document)
|
|
getbaseclasses(target_file)
|
|
getbaseclasses(ToolServer_worksheet)
|
|
getbaseclasses(single_class_hierarchy)
|
|
getbaseclasses(File_Mapping)
|
|
getbaseclasses(browser_catalog)
|
|
getbaseclasses(Build_Settings)
|
|
getbaseclasses(ProjectFile)
|
|
getbaseclasses(Browser_Coloring)
|
|
getbaseclasses(Error_Information)
|
|
getbaseclasses(VCS_Setup)
|
|
getbaseclasses(Editor)
|
|
getbaseclasses(Shielded_Folders)
|
|
getbaseclasses(Shielded_Folder)
|
|
getbaseclasses(Custom_Keywords)
|
|
getbaseclasses(Path_Information)
|
|
getbaseclasses(File_Mappings)
|
|
getbaseclasses(Segment)
|
|
getbaseclasses(Debugger_Target)
|
|
getbaseclasses(Function_Information)
|
|
getbaseclasses(Access_Paths)
|
|
getbaseclasses(Extras)
|
|
getbaseclasses(Debugger_Windowing)
|
|
getbaseclasses(Global_Source_Trees)
|
|
getbaseclasses(Syntax_Coloring)
|
|
getbaseclasses(base_class)
|
|
getbaseclasses(Relative_Path)
|
|
getbaseclasses(Target_Settings)
|
|
getbaseclasses(Environment_Variable)
|
|
getbaseclasses(Source_Tree)
|
|
getbaseclasses(Debugger_Global)
|
|
getbaseclasses(member_function)
|
|
getbaseclasses(Runtime_Settings)
|
|
getbaseclasses(Plugin_Settings)
|
|
getbaseclasses(data_member)
|
|
getbaseclasses(Build_Extras)
|
|
getbaseclasses(Font)
|
|
getbaseclasses(Target_Source_Trees)
|
|
getbaseclasses(Debugger_Display)
|
|
getbaseclasses(class_)
|
|
|
|
#
|
|
# Indices of types declared in this module
|
|
#
|
|
_classdeclarations = {
|
|
'cha ' : character,
|
|
'ctxt' : text,
|
|
'cwin' : window,
|
|
'file' : file,
|
|
'clin' : line,
|
|
'csel' : selection_2d_object,
|
|
'capp' : application,
|
|
'cins' : insertion_point,
|
|
'docu' : document,
|
|
'1BRW' : single_class_browser,
|
|
'PRJD' : project_document,
|
|
'SYMB' : symbol_browser,
|
|
'EDIT' : editor_document,
|
|
'COMP' : file_compare_document,
|
|
'BROW' : class_browser,
|
|
'SBTG' : subtarget,
|
|
'MSSG' : message_document,
|
|
'INSP' : project_inspector,
|
|
'TXTD' : text_document,
|
|
'CTLG' : catalog_document,
|
|
'HIER' : class_hierarchy,
|
|
'TRGT' : target,
|
|
'PRGS' : build_progress_document,
|
|
'SRCF' : target_file,
|
|
'TOOL' : ToolServer_worksheet,
|
|
'1HIR' : single_class_hierarchy,
|
|
'FMap' : File_Mapping,
|
|
'Cata' : browser_catalog,
|
|
'BSTG' : Build_Settings,
|
|
'SrcF' : ProjectFile,
|
|
'BRKW' : Browser_Coloring,
|
|
'ErrM' : Error_Information,
|
|
'VCSs' : VCS_Setup,
|
|
'EDTR' : Editor,
|
|
'SHFL' : Shielded_Folders,
|
|
'SFit' : Shielded_Folder,
|
|
'CUKW' : Custom_Keywords,
|
|
'PInf' : Path_Information,
|
|
'FLMP' : File_Mappings,
|
|
'Seg ' : Segment,
|
|
'DbTG' : Debugger_Target,
|
|
'FDef' : Function_Information,
|
|
'PATH' : Access_Paths,
|
|
'GXTR' : Extras,
|
|
'DbWN' : Debugger_Windowing,
|
|
'GSTs' : Global_Source_Trees,
|
|
'SNTX' : Syntax_Coloring,
|
|
'BsCl' : base_class,
|
|
'RlPt' : Relative_Path,
|
|
'TARG' : Target_Settings,
|
|
'EnvV' : Environment_Variable,
|
|
'SrcT' : Source_Tree,
|
|
'DbGL' : Debugger_Global,
|
|
'MbFn' : member_function,
|
|
'RSTG' : Runtime_Settings,
|
|
'PSTG' : Plugin_Settings,
|
|
'DtMb' : data_member,
|
|
'LXTR' : Build_Extras,
|
|
'mFNT' : Font,
|
|
'TSTs' : Target_Source_Trees,
|
|
'DbDS' : Debugger_Display,
|
|
'Clas' : class_,
|
|
}
|
|
|
|
|
|
class CodeWarrior(CodeWarrior_suite_Events,
|
|
Standard_Suite_Events,
|
|
Metrowerks_Shell_Suite_Events,
|
|
Required_Events,
|
|
aetools.TalkTo):
|
|
_signature = 'CWIE'
|
|
|
|
_moduleName = 'CodeWarrior'
|
|
|