class_docstr: Class to parse header files.
  
  It can deal with gl2.h and webgl.idl,
  as well as some desktop OpenGL header files. It produces a list of
  ConstantDefinition objects and FunctionDefinition objects, which can
  be accessed via a dict.
class_docstr_tok: ["Class","to","parse","header","files",".","It","can","deal","with","gl2.h","and","webgl.idl",",","as","well","as","some","desktop","OpenGL","header","files",".","It","produces","a","list","of","ConstantDefinition","objects","and","FunctionDefinition","objects",",","which","can","be","accessed","via","a","dict","."]
code: def __init__(self, header_file, parse_now=True):
      # Get filenames for C and Py
      self._c_fname = os.path.split(header_file)[1]
  
      # Get absolute filenames
      self._c_filename = header_file
  
      # Init intermediate results
      self._functionDefs = []
      self._constantDefs = []
  
      # Init output
      self._functions = {}
      self._constants = {}
      # cache of constant values for constant aliases
      self._constant_values = {}
  
      # We are aware of the line number
      self._linenr = 0
  
      # Some stats
      self.stat_types = set()
  
      if parse_now:
          self.parse()
  
imports: import os
label_desc: Use image node_id 1 to create a new Parser object  with example: obj = Parser(header_file, parse_now)