class_docstr: Matches a node against a pattern represented by a node.
class_docstr_tok: ["Matches","a","node","against","a","pattern","represented","by","a","node","."]
code: def __init__(self, pattern):
      self.pattern = pattern
      self.pattern_stack = []
      self.matches = True
  
imports: import ast
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
label_desc: Use image node_id 1 to create a new PatternMatcher object from inherited base classes: gast with example: obj = PatternMatcher(pattern)