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

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

 patternNameSpaceBrace
 
 skip
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'SpaceBrace'
 
string NAME = 'spaceBrace'
 

Detailed Description

Validates there is no space before brace, if intended usage is variable or object uniform initialization

Constructor & Destructor Documentation

◆ __init__()

def validation.SpaceBraceValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

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

◆ formatError()

def validation.SpaceBraceValidator.formatError (   err)
static

Member Data Documentation

◆ NAME

string validation.SpaceBraceValidator.NAME = 'spaceBrace'
static

◆ patternNameSpaceBrace

validation.SpaceBraceValidator.patternNameSpaceBrace

◆ skip

validation.SpaceBraceValidator.skip

◆ SUITE_NAME

string validation.SpaceBraceValidator.SUITE_NAME = 'SpaceBrace'
static

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