Lines Matching refs:patterns
268 # doesn't match one of the field patterns.
781 deterministic automaton to match patterns, using a similar algorithm to the
793 self.patterns = [t.search for t in transforms]
798 #for state, patterns in zip(self.states, self.patterns):
799 # print('{}: num patterns: {}'.format(state, len(patterns)))
848 different patterns share the same object, and store some extra
854 # These are the indices of patterns for which this item is the root node.
855 self.patterns = []
871 # The set of all opcodes used by the patterns. Used later to avoid
883 item.patterns.append(pattern)
909 # for patterns that have a generic opcode like f2b, or we
921 for i, pattern in enumerate(self.patterns):
974 patterns = list(sorted(p for item in state for p in item.patterns))
976 self.state_patterns.append(patterns)