Lines Matching refs:scope
159 def findMatchingLine(statement, c1Pass, scope, variables, excludeLines=[]): argument
170 for i in range(scope.start, scope.end):
175 raise MatchFailedException(statement, scope.start, variables)
189 assert self.cursor <= match.scope.end
192 self.handleNotQueue(MatchScope(self.cursor, match.scope.start))
194 self.cursor = match.scope.end + 1
197 def handleDagQueue(self, scope): argument
216 match = findMatchingLine(statement, self.c1Pass, scope, variables, matchedLines)
218 assert match.scope.start == match.scope.end
219 assert match.scope.start not in matchedLines
220 matchedLines.append(match.scope.start)
226 def handleNotQueue(self, scope): argument
234 for i in range(scope.start, scope.end):
250 scope = MatchScope(self.cursor, self.c1Length)
251 match = findMatchingLine(statement, self.c1Pass, scope, self.variables)
265 scope = MatchScope(self.cursor, self.cursor + 1)
266 match = findMatchingLine(statement, self.c1Pass, scope, self.variables)