Python: module fabmetheus_utilities.fabmetheus_tools.alphabetize

fabmetheus_utilities.fabmetheus_tools.alphabetize ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/fabmetheus_tools/alphabetize.py

`Alphabetize is a script to alphabetize functions and signatures.`

Modules
`` |  |
__init__ | fabmetheus_utilities.archive | cStringIO | os

Classes
`` |  | EndCharacterMonad ParameterMonad Snippet
class EndCharacterMonad
`` | `A monad to return the parent monad when it encounters the end character.`
| Methods defined here: __init__(self, endCharacter, parentMonad) `Initialize.` getNextMonad(self, character) `Get the next monad.` getSnippet(self) `Get the snippet.`
class ParameterMonad
`` | `A monad to handle parameters.`
| Methods defined here: __init__(self, snippet) `Initialize.` addParameter(self) `Add parameter to the snippet.` getNextMonad(self, character) `Get the next monad.` getSnippet(self) `Get the snippet.`
class Snippet
`` | `A class to get the variables for a function.`
| Methods defined here: __init__(self, characterIndex, fileText) `Initialize.` __repr__(self) `Get the string representation of this Snippet.`

Functions
`` |  | addTogetherList(functionList, togetherLists) `Add the togetherList to the togetherLists is the sorted is different.` compareFunctionName(first, second) `Compare the function names.` getConvertedName(name) `Get converted name with init at the beginning and main at the endCompare the function names.` getFunctionLists(fileName) `Get the function lists in the file.` getFunctionsWithStringByFileName(fileName, searchString) `Get the functions with the search string in the file.` getFunctionsWithStringByFileNames(fileNames, searchString) `Get the functions with the search string in the files.` getParameterSequence(functionName) `Get the parameter sequence.` getSnippetsByFileName(fileName, functionName) `Get the function signature snippets by the file name.` getTogetherLists(fileName) `Get the lists of the unsorted and sorted functions in the file.` getTokenEnd(characterIndex, fileText, token) `Get the token end index for the file text and token.` main() `Run main function.` printTogetherListsByFileNames(fileNames) `Print the together lists of the file names, if the file name has a together list.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)