#NEWLINE# def process( self , processed , glyphRecords , featureTag ) : #NEWLINE# #INDENT# performedAction = False #NEWLINE# while 1 : #NEWLINE# #INDENT# backtrackCount = self . BacktrackGlyphCount #NEWLINE# if ( not backtrackCount ) : #NEWLINE# #INDENT# backtrackMatch = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( backtrackMatch , backtrack , backtrackMatchIndexes ) = self . _testContext ( reversed ( processed ) , self . BacktrackCoverage , backtrackCount ) #NEWLINE# #UNINDENT# if ( not backtrackMatch ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# inputCount = self . InputGlyphCount #NEWLINE# if ( not inputCount ) : #NEWLINE# #INDENT# inputMatch = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( inputMatch , input , inputMatchIndexes ) = self . _testContext ( glyphRecords , self . InputCoverage , inputCount ) #NEWLINE# #UNINDENT# if ( not inputMatch ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# lookAheadCount = self . LookAheadGlyphCount #NEWLINE# if ( not lookAheadCount ) : #NEWLINE# #INDENT# lookAheadMatch = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( lookAheadMatch , lookAhead , lookAheadMatchIndexes ) = self . _testContext ( glyphRecords [ len ( input ) : ] , self . LookAheadCoverage , lookAheadCount ) #NEWLINE# #UNINDENT# if ( not lookAheadMatch ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# if ( backtrackMatch and inputMatch and lookAheadMatch ) : #NEWLINE# #INDENT# ( processed , glyphRecords , performedAction ) = self . _processMatch ( self , processed , glyphRecords , len ( input ) , inputMatchIndexes , featureTag ) #NEWLINE# #UNINDENT# break #NEWLINE# #UNINDENT# return ( processed , glyphRecords , performedAction )