CatapultServer  v0.5.0.1 (Elephant)
Parser.NamespacesParser Class Reference

Public Member Functions

def __init__ (self, errorReporter, path)
 
def parseNormal (self, tok)
 
def saveTokenOrBye (self, previousToken, token, tokenName)
 
def collectOperator (self)
 
def addNamespace (self)
 
def addTemplateError (self, line)
 
def clearNameStack (self)
 
def clearNameStackAndFindSemiColon (self)
 
def parseFile (self, inputStream)
 
def quit (self, tok)
 
def switchToNormal (self)
 
def collectNs (self, tok)
 
def collectTemplate (self, tok)
 
def collectClass (self, tok)
 
def collectEnum (self, tok)
 
def findClassEnd (self, tok)
 
def findCloseBrace (self, tok)
 
def checkProperties (self)
 
def findSemiColon (self, tok)
 
def findCloseParen (self, tok)
 

Public Attributes

 errorReporter
 
 path
 
 lineNumber
 
 mode
 
 curNsPart
 
 namespaceStack
 
 templateBracketLevel
 
 templateHadClass
 
 templateContent
 
 wasTemplateInstantiation
 
 hadParens
 
 currentBraceLevel
 
 currentColonBraceLevel
 
 nameStack
 
 currentParenLevel
 
 closingBraceCallback
 
 namespaces
 
 templateErrors
 
 insideTemplateCallback
 
 tok
 

Private Member Functions

def _quitIfNoNamestack (self, token)
 
def _parseNormalName (self, tok)
 
def _parseNormalStringLiteral (self, tok)
 
def _parseNormalOpenBracket (self, tok)
 
def _parseNormalPrecompMacro (self, tok)
 
def _parseNormalOpenParen (self, tok)
 
def _parseNormalBrace (self, tok)
 
def _parseNormalSemiColon (self, tok)
 
def _parseNormalEquals (self, tok)
 
def _operatorEquals (self, nextToken)
 
def _operatorPlus (self, nextToken)
 
def _operatorMinus (self, nextToken)
 
def _operatorLessThan (self, nextToken)
 
def _checkFuncOrVar (self)
 

Constructor & Destructor Documentation

◆ __init__()

def Parser.NamespacesParser.__init__ (   self,
  errorReporter,
  path 
)

Member Function Documentation

◆ _checkFuncOrVar()

def Parser.NamespacesParser._checkFuncOrVar (   self)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _operatorEquals()

def Parser.NamespacesParser._operatorEquals (   self,
  nextToken 
)
private
Here is the caller graph for this function:

◆ _operatorLessThan()

def Parser.NamespacesParser._operatorLessThan (   self,
  nextToken 
)
private
Here is the caller graph for this function:

◆ _operatorMinus()

def Parser.NamespacesParser._operatorMinus (   self,
  nextToken 
)
private
Here is the caller graph for this function:

◆ _operatorPlus()

def Parser.NamespacesParser._operatorPlus (   self,
  nextToken 
)
private
Here is the caller graph for this function:

◆ _parseNormalBrace()

def Parser.NamespacesParser._parseNormalBrace (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalEquals()

def Parser.NamespacesParser._parseNormalEquals (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalName()

def Parser.NamespacesParser._parseNormalName (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalOpenBracket()

def Parser.NamespacesParser._parseNormalOpenBracket (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalOpenParen()

def Parser.NamespacesParser._parseNormalOpenParen (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalPrecompMacro()

def Parser.NamespacesParser._parseNormalPrecompMacro (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalSemiColon()

def Parser.NamespacesParser._parseNormalSemiColon (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _parseNormalStringLiteral()

def Parser.NamespacesParser._parseNormalStringLiteral (   self,
  tok 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _quitIfNoNamestack()

def Parser.NamespacesParser._quitIfNoNamestack (   self,
  token 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addNamespace()

def Parser.NamespacesParser.addNamespace (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTemplateError()

def Parser.NamespacesParser.addTemplateError (   self,
  line 
)
Here is the caller graph for this function:

◆ checkProperties()

def Parser.NamespacesParser.checkProperties (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearNameStack()

def Parser.NamespacesParser.clearNameStack (   self)
Here is the caller graph for this function:

◆ clearNameStackAndFindSemiColon()

def Parser.NamespacesParser.clearNameStackAndFindSemiColon (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectClass()

def Parser.NamespacesParser.collectClass (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectEnum()

def Parser.NamespacesParser.collectEnum (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectNs()

def Parser.NamespacesParser.collectNs (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectOperator()

def Parser.NamespacesParser.collectOperator (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectTemplate()

def Parser.NamespacesParser.collectTemplate (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findClassEnd()

def Parser.NamespacesParser.findClassEnd (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findCloseBrace()

def Parser.NamespacesParser.findCloseBrace (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findCloseParen()

def Parser.NamespacesParser.findCloseParen (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findSemiColon()

def Parser.NamespacesParser.findSemiColon (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseFile()

def Parser.NamespacesParser.parseFile (   self,
  inputStream 
)
Here is the call graph for this function:

◆ parseNormal()

def Parser.NamespacesParser.parseNormal (   self,
  tok 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ quit()

def Parser.NamespacesParser.quit (   self,
  tok 
)
Here is the caller graph for this function:

◆ saveTokenOrBye()

def Parser.NamespacesParser.saveTokenOrBye (   self,
  previousToken,
  token,
  tokenName 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchToNormal()

def Parser.NamespacesParser.switchToNormal (   self)
Here is the caller graph for this function:

Member Data Documentation

◆ closingBraceCallback

Parser.NamespacesParser.closingBraceCallback

◆ curNsPart

Parser.NamespacesParser.curNsPart

◆ currentBraceLevel

Parser.NamespacesParser.currentBraceLevel

◆ currentColonBraceLevel

Parser.NamespacesParser.currentColonBraceLevel

◆ currentParenLevel

Parser.NamespacesParser.currentParenLevel

◆ errorReporter

Parser.NamespacesParser.errorReporter

◆ hadParens

Parser.NamespacesParser.hadParens

◆ insideTemplateCallback

Parser.NamespacesParser.insideTemplateCallback

◆ lineNumber

Parser.NamespacesParser.lineNumber

◆ mode

Parser.NamespacesParser.mode

◆ namespaces

Parser.NamespacesParser.namespaces

◆ namespaceStack

Parser.NamespacesParser.namespaceStack

◆ nameStack

Parser.NamespacesParser.nameStack

◆ path

Parser.NamespacesParser.path

◆ templateBracketLevel

Parser.NamespacesParser.templateBracketLevel

◆ templateContent

Parser.NamespacesParser.templateContent

◆ templateErrors

Parser.NamespacesParser.templateErrors

◆ templateHadClass

Parser.NamespacesParser.templateHadClass

◆ tok

Parser.NamespacesParser.tok

◆ wasTemplateInstantiation

Parser.NamespacesParser.wasTemplateInstantiation

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