CatapultServer  v0.5.0.1 (Elephant)
forwardsValidation.ForwardsValidator Class Reference
Inheritance diagram for forwardsValidation.ForwardsValidator:
Collaboration diagram for forwardsValidation.ForwardsValidator:

Public Member Functions

def __init__ (self, errorReporter)
 
def reset (self, path)
 
def check (self, lineNumber, line)
 
def finalize (self)
 

Static Public Member Functions

def indentNotEmpty (line)
 
def formatError (err)
 

Public Attributes

 patternNamespace
 
 matchLineNumber
 
 parsingDone
 
 mode
 
 namespaceType
 
 tokenizer
 
 tok
 
 namespaceStack
 
 declarations
 
 typeType
 
 lastName
 
 preTypeLines
 
 hadForwards
 
 lastForwardLineNumber
 
 lastLineNumber
 
 lastNamespaceLineNumber
 
 lastNamespaceNextLineLength
 
 previousBlockLineNumber
 
 collectedLines
 
 line
 
 tokPos
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'ForwardDeclaration'
 
string NAME = 'forward'
 

Private Member Functions

def _parse (self, lineNumber, line)
 
def _keywordCheck (self)
 
def _getPath (self)
 
def _collectNamespaceKeyword (self)
 
def _collectNsName (self)
 
def _addForward (self, typeType, typeName)
 
def _collectOpeningBrace (self)
 
def _collectSemiColon (self)
 
def _collectTypeName (self)
 
def _collectEnum (self)
 
def _skipTillEol (self)
 

Static Private Member Functions

def _formatFwd (className, classSpec)
 
def _format (declarations, level=1)
 

Constructor & Destructor Documentation

◆ __init__()

def forwardsValidation.ForwardsValidator.__init__ (   self,
  errorReporter 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Function Documentation

◆ _addForward()

def forwardsValidation.ForwardsValidator._addForward (   self,
  typeType,
  typeName 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _collectEnum()

def forwardsValidation.ForwardsValidator._collectEnum (   self)
private
Here is the call graph for this function:

◆ _collectNamespaceKeyword()

def forwardsValidation.ForwardsValidator._collectNamespaceKeyword (   self)
private
Here is the call graph for this function:

◆ _collectNsName()

def forwardsValidation.ForwardsValidator._collectNsName (   self)
private
Here is the call graph for this function:

◆ _collectOpeningBrace()

def forwardsValidation.ForwardsValidator._collectOpeningBrace (   self)
private
Here is the call graph for this function:

◆ _collectSemiColon()

def forwardsValidation.ForwardsValidator._collectSemiColon (   self)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _collectTypeName()

def forwardsValidation.ForwardsValidator._collectTypeName (   self)
private

◆ _format()

def forwardsValidation.ForwardsValidator._format (   declarations,
  level = 1 
)
staticprivate
Here is the caller graph for this function:

◆ _formatFwd()

def forwardsValidation.ForwardsValidator._formatFwd (   className,
  classSpec 
)
staticprivate

◆ _getPath()

def forwardsValidation.ForwardsValidator._getPath (   self)
private
Here is the caller graph for this function:

◆ _keywordCheck()

def forwardsValidation.ForwardsValidator._keywordCheck (   self)
private
Here is the call graph for this function:

◆ _parse()

def forwardsValidation.ForwardsValidator._parse (   self,
  lineNumber,
  line 
)
private
Here is the caller graph for this function:

◆ _skipTillEol()

def forwardsValidation.ForwardsValidator._skipTillEol (   self)
private

◆ check()

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

◆ finalize()

def forwardsValidation.ForwardsValidator.finalize (   self)

Reimplemented from SimpleValidator.SimpleValidator.

Here is the call graph for this function:

◆ formatError()

def forwardsValidation.ForwardsValidator.formatError (   err)
static

◆ indentNotEmpty()

def forwardsValidation.ForwardsValidator.indentNotEmpty (   line)
static

◆ reset()

def forwardsValidation.ForwardsValidator.reset (   self,
  path 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Data Documentation

◆ collectedLines

forwardsValidation.ForwardsValidator.collectedLines

◆ declarations

forwardsValidation.ForwardsValidator.declarations

◆ hadForwards

forwardsValidation.ForwardsValidator.hadForwards

◆ lastForwardLineNumber

forwardsValidation.ForwardsValidator.lastForwardLineNumber

◆ lastLineNumber

forwardsValidation.ForwardsValidator.lastLineNumber

◆ lastName

forwardsValidation.ForwardsValidator.lastName

◆ lastNamespaceLineNumber

forwardsValidation.ForwardsValidator.lastNamespaceLineNumber

◆ lastNamespaceNextLineLength

forwardsValidation.ForwardsValidator.lastNamespaceNextLineLength

◆ line

forwardsValidation.ForwardsValidator.line

◆ matchLineNumber

forwardsValidation.ForwardsValidator.matchLineNumber

◆ mode

forwardsValidation.ForwardsValidator.mode

◆ NAME

string forwardsValidation.ForwardsValidator.NAME = 'forward'
static

◆ namespaceStack

forwardsValidation.ForwardsValidator.namespaceStack

◆ namespaceType

forwardsValidation.ForwardsValidator.namespaceType

◆ parsingDone

forwardsValidation.ForwardsValidator.parsingDone

◆ patternNamespace

forwardsValidation.ForwardsValidator.patternNamespace

◆ preTypeLines

forwardsValidation.ForwardsValidator.preTypeLines

◆ previousBlockLineNumber

forwardsValidation.ForwardsValidator.previousBlockLineNumber

◆ SUITE_NAME

string forwardsValidation.ForwardsValidator.SUITE_NAME = 'ForwardDeclaration'
static

◆ tok

forwardsValidation.ForwardsValidator.tok

◆ tokenizer

forwardsValidation.ForwardsValidator.tokenizer

◆ tokPos

forwardsValidation.ForwardsValidator.tokPos

◆ typeType

forwardsValidation.ForwardsValidator.typeType

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