CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
def | __init__ (self, errorReporter) |
def | check (self, lineNumber, line) |
def | reportError (self, lineNumber, message) |
Public Member Functions inherited from SimpleValidator.SimpleValidator | |
def | reset (self, path) |
def | finalize (self) |
Static Public Member Functions | |
def | formatError (err) |
Public Attributes | |
patternNamespaceOpening | |
patternAnonNamespaceOpening | |
patternForwardDeclaration | |
recentLines | |
Public Attributes inherited from SimpleValidator.SimpleValidator | |
errorReporter | |
path | |
Static Public Attributes | |
string | SUITE_NAME = 'NamespaceOpeningBraceVerticalSpacingChecker' |
string | NAME = 'namespaceOpeningBraceVerticalSpacingChecker' |
Validator for ensuring that opening namespaces are properly followed by whitespace or not.
def validation.NamespaceOpeningBraceVerticalSpacingValidator.__init__ | ( | self, | |
errorReporter | |||
) |
Reimplemented from SimpleValidator.SimpleValidator.
def validation.NamespaceOpeningBraceVerticalSpacingValidator.check | ( | self, | |
lineNumber, | |||
line | |||
) |
|
static |
def validation.NamespaceOpeningBraceVerticalSpacingValidator.reportError | ( | self, | |
lineNumber, | |||
message | |||
) |
|
static |
validation.NamespaceOpeningBraceVerticalSpacingValidator.patternAnonNamespaceOpening |
validation.NamespaceOpeningBraceVerticalSpacingValidator.patternForwardDeclaration |
validation.NamespaceOpeningBraceVerticalSpacingValidator.patternNamespaceOpening |
validation.NamespaceOpeningBraceVerticalSpacingValidator.recentLines |
|
static |