FoxDot.lib.Workspace.AppFunctions¶
Collection of functions used in the Workspace package
- class FoxDot.lib.Workspace.AppFunctions.Comment(template: str = '# {}', newline: str = '\n')[source]¶
Bases:
object
- FoxDot.lib.Workspace.AppFunctions.at_function(index, string)[source]¶
Returns true if the index is at a colon in the string
- FoxDot.lib.Workspace.AppFunctions.get_tabspace(s)[source]¶
Returns the amount of whitespace at the start of a string
- FoxDot.lib.Workspace.AppFunctions.in_brackets(index, string)[source]¶
Returns true if index is between a pair of brackets (could be non closing)