def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if self.sUnless:
             if oLine.__dict__[self.sTrigger] and not oLine.__dict__[self.sUnless]:
                 check.indent(self, oLine, iLineNumber)
         elif oLine.__dict__[self.sTrigger]:
             check.indent(self, oLine, iLineNumber)
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.isInstantiationDeclaration or oLine.isInstantiationPortAssignment or \
            oLine.isInstantiationPortEnd or oLine.isInstantiationPortKeyword or \
            oLine.isInstantiationGenericAssignment or oLine.isInstantiationGenericEnd or \
            oLine.isInstantiationGenericKeyword:
             check.indent(self, oLine, iLineNumber)
Example #3
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if self.sUnless:
         if oLine.__dict__[
                 self.sTrigger] and not oLine.__dict__[self.sUnless]:
             check.indent(self, oLine, iLineNumber)
     elif oLine.__dict__[self.sTrigger]:
         check.indent(self, oLine, iLineNumber)
Example #4
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.isInstantiationDeclaration or oLine.isInstantiationPortAssignment or \
        oLine.isInstantiationPortEnd or oLine.isInstantiationPortKeyword or \
        oLine.isInstantiationGenericAssignment or oLine.isInstantiationGenericEnd or \
        oLine.isInstantiationGenericKeyword:
         check.indent(self, oLine, iLineNumber)
Example #5
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.isFunctionKeyword or oLine.isFunctionBegin or oLine.isFunctionEnd or oLine.isFunctionReturn:
         check.indent(self, oLine, iLineNumber)
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.isCaseKeyword or oLine.isCaseWhenKeyword or oLine.isEndCaseKeyword:
             check.indent(self, oLine, iLineNumber)
Example #7
0
 def _analyze(self, oFile, oLine, iLineNumber):
     if oLine.isCaseKeyword or oLine.isCaseWhenKeyword or oLine.isEndCaseKeyword:
         check.indent(self, oLine, iLineNumber)
Example #8
0
 def analyze(self, oFile):
     for iLineNumber, oLine in enumerate(oFile.lines):
         if oLine.isFunctionKeyword or oLine.isFunctionBegin or oLine.isFunctionEnd or oLine.isFunctionReturn:
             check.indent(self, oLine, iLineNumber)