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

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

 patternEnumValue
 
 patternBlankLine
 
 previousLine
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'EnumValueBlankLineChecker'
 
string NAME = 'enumValueBlankLineChecker'
 

Detailed Description

Validator for ensuring that ENUM_VALUE entries are followed by blank lines.

Constructor & Destructor Documentation

◆ __init__()

def validation.EnumValueBlankLineValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

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

◆ formatError()

def validation.EnumValueBlankLineValidator.formatError (   err)
static

Member Data Documentation

◆ NAME

string validation.EnumValueBlankLineValidator.NAME = 'enumValueBlankLineChecker'
static

◆ patternBlankLine

validation.EnumValueBlankLineValidator.patternBlankLine

◆ patternEnumValue

validation.EnumValueBlankLineValidator.patternEnumValue

◆ previousLine

validation.EnumValueBlankLineValidator.previousLine

◆ SUITE_NAME

string validation.EnumValueBlankLineValidator.SUITE_NAME = 'EnumValueBlankLineChecker'
static

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