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

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

 patternRegion
 
 counter
 
 previousRegionLine
 
 previousRegionLineNumber
 
 firstBeforeNestedLine
 
 firstBeforeNestedLineNumber
 
 errors
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'RegionValidator'
 
string NAME = 'regionValidator'
 

Detailed Description

Validates nested regions and region typos

Constructor & Destructor Documentation

◆ __init__()

def validation.RegionValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

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

◆ finalize()

def validation.RegionValidator.finalize (   self)

Reimplemented from SimpleValidator.SimpleValidator.

◆ formatError()

def validation.RegionValidator.formatError (   err)
static

◆ reset()

def validation.RegionValidator.reset (   self,
  path 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Data Documentation

◆ counter

validation.RegionValidator.counter

◆ errors

validation.RegionValidator.errors

◆ firstBeforeNestedLine

validation.RegionValidator.firstBeforeNestedLine

◆ firstBeforeNestedLineNumber

validation.RegionValidator.firstBeforeNestedLineNumber

◆ NAME

string validation.RegionValidator.NAME = 'regionValidator'
static

◆ patternRegion

validation.RegionValidator.patternRegion

◆ previousRegionLine

validation.RegionValidator.previousRegionLine

◆ previousRegionLineNumber

validation.RegionValidator.previousRegionLineNumber

◆ SUITE_NAME

string validation.RegionValidator.SUITE_NAME = 'RegionValidator'
static

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