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

Public Member Functions

def __init__ (self, errorReporter)
 
def check (self, lineNumber, line)
 
- Public Member Functions inherited from SimpleValidator.SimpleValidator
def reset (self, path)
 
def finalize (self)
 

Static Public Member Functions

def formatError (err)
 

Public Attributes

 patternClosingBrace
 
 patternInbetweenClosingBrace
 
 patternLineAfterClosingBrace
 
 recentLines
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'ClosingBraceVerticalSpacingChecker'
 
string NAME = 'closingBraceVerticalSpacingVChecker'
 

Detailed Description

Validator for ensuring that closing braces are properly followed by whitespace.

Constructor & Destructor Documentation

◆ __init__()

def validation.ClosingBraceVerticalSpacingValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

def validation.ClosingBraceVerticalSpacingValidator.check (   self,
  lineNumber,
  line 
)

◆ formatError()

def validation.ClosingBraceVerticalSpacingValidator.formatError (   err)
static

Member Data Documentation

◆ NAME

string validation.ClosingBraceVerticalSpacingValidator.NAME = 'closingBraceVerticalSpacingVChecker'
static

◆ patternClosingBrace

validation.ClosingBraceVerticalSpacingValidator.patternClosingBrace

◆ patternInbetweenClosingBrace

validation.ClosingBraceVerticalSpacingValidator.patternInbetweenClosingBrace

◆ patternLineAfterClosingBrace

validation.ClosingBraceVerticalSpacingValidator.patternLineAfterClosingBrace

◆ recentLines

validation.ClosingBraceVerticalSpacingValidator.recentLines

◆ SUITE_NAME

string validation.ClosingBraceVerticalSpacingValidator.SUITE_NAME = 'ClosingBraceVerticalSpacingChecker'
static

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