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

Public Member Functions

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

Static Public Member Functions

def formatError (err)
 

Public Attributes

 patternNamespaceOpening
 
 patternAnonNamespaceOpening
 
 patternForwardDeclaration
 
 recentLines
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'NamespaceOpeningBraceVerticalSpacingChecker'
 
string NAME = 'namespaceOpeningBraceVerticalSpacingChecker'
 

Detailed Description

Validator for ensuring that opening namespaces are properly followed by whitespace or not.

Constructor & Destructor Documentation

◆ __init__()

def validation.NamespaceOpeningBraceVerticalSpacingValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ check()

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

◆ formatError()

def validation.NamespaceOpeningBraceVerticalSpacingValidator.formatError (   err)
static

◆ reportError()

def validation.NamespaceOpeningBraceVerticalSpacingValidator.reportError (   self,
  lineNumber,
  message 
)
Here is the caller graph for this function:

Member Data Documentation

◆ NAME

string validation.NamespaceOpeningBraceVerticalSpacingValidator.NAME = 'namespaceOpeningBraceVerticalSpacingChecker'
static

◆ patternAnonNamespaceOpening

validation.NamespaceOpeningBraceVerticalSpacingValidator.patternAnonNamespaceOpening

◆ patternForwardDeclaration

validation.NamespaceOpeningBraceVerticalSpacingValidator.patternForwardDeclaration

◆ patternNamespaceOpening

validation.NamespaceOpeningBraceVerticalSpacingValidator.patternNamespaceOpening

◆ recentLines

validation.NamespaceOpeningBraceVerticalSpacingValidator.recentLines

◆ SUITE_NAME

string validation.NamespaceOpeningBraceVerticalSpacingValidator.SUITE_NAME = 'NamespaceOpeningBraceVerticalSpacingChecker'
static

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