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

Public Member Functions

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

Static Public Member Functions

def formatError (err)
 

Public Attributes

 gotPragmaOnce
 
 gotLicense
 
 emptyLineNumber
 
 reportEmptyLineError
 
 insideComment
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'Pragmas'
 
string NAME = 'pragmaErrors'
 

Member Function Documentation

◆ check()

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

◆ finalize()

def validation.PragmaOnceValidator.finalize (   self)

Reimplemented from SimpleValidator.SimpleValidator.

◆ formatError()

def validation.PragmaOnceValidator.formatError (   err)
static

◆ reset()

def validation.PragmaOnceValidator.reset (   self,
  path 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Data Documentation

◆ emptyLineNumber

validation.PragmaOnceValidator.emptyLineNumber

◆ gotLicense

validation.PragmaOnceValidator.gotLicense

◆ gotPragmaOnce

validation.PragmaOnceValidator.gotPragmaOnce

◆ insideComment

validation.PragmaOnceValidator.insideComment

◆ NAME

string validation.PragmaOnceValidator.NAME = 'pragmaErrors'
static

◆ reportEmptyLineError

validation.PragmaOnceValidator.reportEmptyLineError

◆ SUITE_NAME

string validation.PragmaOnceValidator.SUITE_NAME = 'Pragmas'
static

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