code: def __init__(self, ldict, log=None, reflags=0):
      self.ldict = ldict
      self.error_func = None
      self.tokens = []
      self.reflags = reflags
      self.stateinfo = {"INITIAL": "inclusive"}
      self.modules = set()
      self.error = False
      self.log = PlyLogger(sys.stderr) if log is None else log
  
imports: import re
  import sys
  import types
  import copy
  import os
  import inspect
label_desc: Use image node_id 1 to create a new LexerReflect object  with example: obj = LexerReflect(ldict, log, reflags)