CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
def | __init__ (self, errorReporter) |
def | check (self, lineNumber, line) |
def | reportError (self, lineNumber, line, message) |
Public Member Functions inherited from SimpleValidator.SimpleValidator | |
def | reset (self, path) |
def | finalize (self) |
Static Public Member Functions | |
def | formatError (err) |
Public Attributes | |
isOpeningBraceUnclosed | |
previousStrippedLine | |
Public Attributes inherited from SimpleValidator.SimpleValidator | |
errorReporter | |
path | |
Static Public Attributes | |
string | SUITE_NAME = 'EmptyStatementChecker' |
string | NAME = 'emptyStatementChecker' |
Validator for ensuring empty statements are formatted correctly.
def validation.EmptyStatementValidator.__init__ | ( | self, | |
errorReporter | |||
) |
Reimplemented from SimpleValidator.SimpleValidator.
def validation.EmptyStatementValidator.check | ( | self, | |
lineNumber, | |||
line | |||
) |
|
static |
def validation.EmptyStatementValidator.reportError | ( | self, | |
lineNumber, | |||
line, | |||
message | |||
) |
validation.EmptyStatementValidator.isOpeningBraceUnclosed |
|
static |
validation.EmptyStatementValidator.previousStrippedLine |
|
static |