eric6/Documentation/Source/eric6.Utilities.ModuleParser.html

changeset 7989
a21d673a8f99
parent 7900
72b88fb20261
child 8215
fc5d68a6889e
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
356 <dd> 356 <dd>
357 name of the attribute (string) 357 name of the attribute (string)
358 </dd> 358 </dd>
359 </dl> 359 </dl>
360 <dl> 360 <dl>
361 <dt>Returns:</dt> 361 <dt>Return:</dt>
362 <dd> 362 <dd>
363 the named attribute or None 363 the named attribute or None
364 </dd> 364 </dd>
365 </dl> 365 </dl>
366 <a NAME="Class.getMethod" ID="Class.getMethod"></a> 366 <a NAME="Class.getMethod" ID="Class.getMethod"></a>
376 <dd> 376 <dd>
377 name of the method (string) 377 name of the method (string)
378 </dd> 378 </dd>
379 </dl> 379 </dl>
380 <dl> 380 <dl>
381 <dt>Returns:</dt> 381 <dt>Return:</dt>
382 <dd> 382 <dd>
383 the named method or None 383 the named method or None
384 </dd> 384 </dd>
385 </dl> 385 </dl>
386 <a NAME="Class.setEndLine" ID="Class.setEndLine"></a> 386 <a NAME="Class.setEndLine" ID="Class.setEndLine"></a>
841 <dd> 841 <dd>
842 indent length the class/method/function definition 842 indent length the class/method/function definition
843 </dd> 843 </dd>
844 </dl> 844 </dl>
845 <dl> 845 <dl>
846 <dt>Returns:</dt> 846 <dt>Return:</dt>
847 <dd> 847 <dd>
848 end line of the class/method/function (one based) 848 end line of the class/method/function (one based)
849 </dd> 849 </dd>
850 </dl> 850 </dl>
851 <dl> 851 <dl>
861 <p> 861 <p>
862 Public method to build the inheritance hierarchy for all classes of 862 Public method to build the inheritance hierarchy for all classes of
863 this module. 863 this module.
864 </p> 864 </p>
865 <dl> 865 <dl>
866 <dt>Returns:</dt> 866 <dt>Return:</dt>
867 <dd> 867 <dd>
868 A dictionary with inheritance hierarchies. 868 A dictionary with inheritance hierarchies.
869 </dd> 869 </dd>
870 </dl> 870 </dl>
871 <a NAME="Module.getFileName" ID="Module.getFileName"></a> 871 <a NAME="Module.getFileName" ID="Module.getFileName"></a>
874 874
875 <p> 875 <p>
876 Public method to retrieve the modules filename. 876 Public method to retrieve the modules filename.
877 </p> 877 </p>
878 <dl> 878 <dl>
879 <dt>Returns:</dt> 879 <dt>Return:</dt>
880 <dd> 880 <dd>
881 module filename (string) 881 module filename (string)
882 </dd> 882 </dd>
883 </dl> 883 </dl>
884 <a NAME="Module.getName" ID="Module.getName"></a> 884 <a NAME="Module.getName" ID="Module.getName"></a>
887 887
888 <p> 888 <p>
889 Public method to retrieve the modules name. 889 Public method to retrieve the modules name.
890 </p> 890 </p>
891 <dl> 891 <dl>
892 <dt>Returns:</dt> 892 <dt>Return:</dt>
893 <dd> 893 <dd>
894 module name (string) 894 module name (string)
895 </dd> 895 </dd>
896 </dl> 896 </dl>
897 <a NAME="Module.getType" ID="Module.getType"></a> 897 <a NAME="Module.getType" ID="Module.getType"></a>
900 900
901 <p> 901 <p>
902 Public method to get the type of the module's source. 902 Public method to get the type of the module's source.
903 </p> 903 </p>
904 <dl> 904 <dl>
905 <dt>Returns:</dt> 905 <dt>Return:</dt>
906 <dd> 906 <dd>
907 type of the modules's source (string) 907 type of the modules's source (string)
908 </dd> 908 </dd>
909 </dl> 909 </dl>
910 <a NAME="Module.scan" ID="Module.scan"></a> 910 <a NAME="Module.scan" ID="Module.scan"></a>
1068 1068
1069 <p> 1069 <p>
1070 Public method to check, if the visibility is Private. 1070 Public method to check, if the visibility is Private.
1071 </p> 1071 </p>
1072 <dl> 1072 <dl>
1073 <dt>Returns:</dt> 1073 <dt>Return:</dt>
1074 <dd> 1074 <dd>
1075 flag indicating Private visibility (boolean) 1075 flag indicating Private visibility (boolean)
1076 </dd> 1076 </dd>
1077 </dl> 1077 </dl>
1078 <a NAME="VisibilityBase.isProtected" ID="VisibilityBase.isProtected"></a> 1078 <a NAME="VisibilityBase.isProtected" ID="VisibilityBase.isProtected"></a>
1081 1081
1082 <p> 1082 <p>
1083 Public method to check, if the visibility is Protected. 1083 Public method to check, if the visibility is Protected.
1084 </p> 1084 </p>
1085 <dl> 1085 <dl>
1086 <dt>Returns:</dt> 1086 <dt>Return:</dt>
1087 <dd> 1087 <dd>
1088 flag indicating Protected visibility (boolean) 1088 flag indicating Protected visibility (boolean)
1089 </dd> 1089 </dd>
1090 </dl> 1090 </dl>
1091 <a NAME="VisibilityBase.isPublic" ID="VisibilityBase.isPublic"></a> 1091 <a NAME="VisibilityBase.isPublic" ID="VisibilityBase.isPublic"></a>
1094 1094
1095 <p> 1095 <p>
1096 Public method to check, if the visibility is Public. 1096 Public method to check, if the visibility is Public.
1097 </p> 1097 </p>
1098 <dl> 1098 <dl>
1099 <dt>Returns:</dt> 1099 <dt>Return:</dt>
1100 <dd> 1100 <dd>
1101 flag indicating Public visibility (boolean) 1101 flag indicating Public visibility (boolean)
1102 </dd> 1102 </dd>
1103 </dl> 1103 </dl>
1104 <a NAME="VisibilityBase.setPrivate" ID="VisibilityBase.setPrivate"></a> 1104 <a NAME="VisibilityBase.setPrivate" ID="VisibilityBase.setPrivate"></a>
1138 <dd> 1138 <dd>
1139 The whitespace string to be cheked. (string) 1139 The whitespace string to be cheked. (string)
1140 </dd> 1140 </dd>
1141 </dl> 1141 </dl>
1142 <dl> 1142 <dl>
1143 <dt>Returns:</dt> 1143 <dt>Return:</dt>
1144 <dd> 1144 <dd>
1145 Length of the whitespace string after tab expansion. 1145 Length of the whitespace string after tab expansion.
1146 </dd> 1146 </dd>
1147 </dl> 1147 </dl>
1148 <div align="right"><a href="#top">Up</a></div> 1148 <div align="right"><a href="#top">Up</a></div>
1176 list of extensions, which should be considered valid 1176 list of extensions, which should be considered valid
1177 source file extensions (list of strings) 1177 source file extensions (list of strings)
1178 </dd> 1178 </dd>
1179 </dl> 1179 </dl>
1180 <dl> 1180 <dl>
1181 <dt>Returns:</dt> 1181 <dt>Return:</dt>
1182 <dd> 1182 <dd>
1183 tuple of the open file, pathname and description. Description 1183 tuple of the open file, pathname and description. Description
1184 is a tuple of file suffix, file mode and file type) 1184 is a tuple of file suffix, file mode and file type)
1185 </dd> 1185 </dd>
1186 </dl> 1186 </dl>
1207 <dd> 1207 <dd>
1208 module type name (string) 1208 module type name (string)
1209 </dd> 1209 </dd>
1210 </dl> 1210 </dl>
1211 <dl> 1211 <dl>
1212 <dt>Returns:</dt> 1212 <dt>Return:</dt>
1213 <dd> 1213 <dd>
1214 module type or -1 for failure (integer) 1214 module type or -1 for failure (integer)
1215 </dd> 1215 </dd>
1216 </dl> 1216 </dl>
1217 <div align="right"><a href="#top">Up</a></div> 1217 <div align="right"><a href="#top">Up</a></div>
1264 flag indicating to ignore the builtin modules 1264 flag indicating to ignore the builtin modules
1265 (boolean) 1265 (boolean)
1266 </dd> 1266 </dd>
1267 </dl> 1267 </dl>
1268 <dl> 1268 <dl>
1269 <dt>Returns:</dt> 1269 <dt>Return:</dt>
1270 <dd> 1270 <dd>
1271 reference to a Module object containing the parsed 1271 reference to a Module object containing the parsed
1272 module information (Module) 1272 module information (Module)
1273 </dd> 1273 </dd>
1274 </dl> 1274 </dl>

eric ide

mercurial