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

Public Member Functions

def __init__ (self, errorReporter)
 
def reset (self, path)
 
def check (self, lineNumber, line)
 
def finalize (self)
 

Static Public Member Functions

def formatError (err)
 

Public Attributes

 patternWhitespaces
 
 patternSpacesStart
 
 patternTabsStart
 
 patternSpacesMiddle
 
 patternSpaceOperator
 
 patternCommentSingle
 
 patternTabInside
 
 patternCarriageReturn
 
 patternComma
 
 carriageReturnCount
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'Whitespaces'
 
string NAME = 'whitespaceLines'
 

Constructor & Destructor Documentation

◆ __init__()

def validation.WhitespaceLineValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

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

◆ finalize()

def validation.WhitespaceLineValidator.finalize (   self)

Reimplemented from SimpleValidator.SimpleValidator.

◆ formatError()

def validation.WhitespaceLineValidator.formatError (   err)
static

◆ reset()

def validation.WhitespaceLineValidator.reset (   self,
  path 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Data Documentation

◆ carriageReturnCount

validation.WhitespaceLineValidator.carriageReturnCount

◆ NAME

string validation.WhitespaceLineValidator.NAME = 'whitespaceLines'
static

◆ patternCarriageReturn

validation.WhitespaceLineValidator.patternCarriageReturn

◆ patternComma

validation.WhitespaceLineValidator.patternComma

◆ patternCommentSingle

validation.WhitespaceLineValidator.patternCommentSingle

◆ patternSpaceOperator

validation.WhitespaceLineValidator.patternSpaceOperator

◆ patternSpacesMiddle

validation.WhitespaceLineValidator.patternSpacesMiddle

◆ patternSpacesStart

validation.WhitespaceLineValidator.patternSpacesStart

◆ patternTabInside

validation.WhitespaceLineValidator.patternTabInside

◆ patternTabsStart

validation.WhitespaceLineValidator.patternTabsStart

◆ patternWhitespaces

validation.WhitespaceLineValidator.patternWhitespaces

◆ SUITE_NAME

string validation.WhitespaceLineValidator.SUITE_NAME = 'Whitespaces'
static

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