CatapultServer  v0.5.0.1 (Elephant)
validation.EmptyStatementValidator Class Reference
Inheritance diagram for validation.EmptyStatementValidator:
Collaboration diagram for validation.EmptyStatementValidator:

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'
 

Detailed Description

Validator for ensuring empty statements are formatted correctly.

Constructor & Destructor Documentation

◆ __init__()

def validation.EmptyStatementValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

def validation.EmptyStatementValidator.check (   self,
  lineNumber,
  line 
)
Here is the call graph for this function:

◆ formatError()

def validation.EmptyStatementValidator.formatError (   err)
static

◆ reportError()

def validation.EmptyStatementValidator.reportError (   self,
  lineNumber,
  line,
  message 
)
Here is the caller graph for this function:

Member Data Documentation

◆ isOpeningBraceUnclosed

validation.EmptyStatementValidator.isOpeningBraceUnclosed

◆ NAME

string validation.EmptyStatementValidator.NAME = 'emptyStatementChecker'
static

◆ previousStrippedLine

validation.EmptyStatementValidator.previousStrippedLine

◆ SUITE_NAME

string validation.EmptyStatementValidator.SUITE_NAME = 'EmptyStatementChecker'
static

The documentation for this class was generated from the following file: