edk2toollib/uefi/edk2/parsers/dec_parser.py
def ParseFile(self, filepath: str) -> None:
        """
        Parse the supplied file.
        Args:
          filepath: path to dec file to parse.  Can be either an absolute path or
          relative to your CWD

        Returns:
          None - Existing object now contains parsed data

        """
        self.Logger.debug("Parsing file: %s" % filepath)
        if(not os.path.isabs(filepath)):
            fp = self.FindPath(filepath)
        else:
            fp = filepath
        self.Path = fp

        f = open(fp, "r")
        self.Lines = f.readlines()
        f.close()
        self._Parse()

        Parse the supplied file.
        Args:
          filepath: path to dec file to parse.  Can be either an absolute path or
          relative to your CWD

        Returns:
          None - Existing object now contains parsed data

        
Parse the supplied file.
Args:
filepath: path to dec file to parse.  Can be either an absolute path or
relative to your CWD

Existing object now contains parsed data
Parse the supplied file . Args : filepath : path to dec file to parse . Can be either an absolute path or relative to your CWD Existing object now contains parsed data
def ParseFile(self, filepath: str) -> None:
        self.Logger.debug("Parsing file: %s" % filepath)
        if(not os.path.isabs(filepath)):
            fp = self.FindPath(filepath)
        else:
            fp = filepath
        self.Path = fp
        f = open(fp, "r")
        self.Lines = f.readlines()
        f.close()
        self._Parse()
def ParseFile ( self , filepath : str ) -> None : self . Logger . debug ( "Parsing file: %s" % filepath ) if ( not os . path . isabs ( filepath ) ) : fp = self . FindPath ( filepath ) else : fp = filepath self . Path = fp f = open ( fp , "r" ) self . Lines = f . readlines ( ) f . close ( ) self . _Parse ( )
Parse the supplied file.
Parse the supplied file .
"""
        Parse the supplied file.
        Args:
          filepath: path to dec file to parse.  Can be either an absolute path or
          relative to your CWD

        Returns:
          None - Existing object now contains parsed data

        """
self
filepath
str