edk2toollib/uefi/edk2/parsers/dec_parser.py
def _parse(self, rawtext: str) -> None:
        """Parses the name and guid of a declaration

        Args:
          rawtext: str:

        Returns:

        """
        t = rawtext.partition("=")
        self.name = t[0].strip()
        self.guidstring = t[2].strip()
        self.guid = GuidParser.uuid_from_guidstring(self.guidstring)
        if(self.guid is None):
            raise ValueError("Could not parse guid")
Parses the name and guid of a declaration

        Args:
          rawtext: str:

        Returns:

        
Parses the name and guid of a declaration
Parses the name and guid of a declaration
def _parse(self, rawtext: str) -> None:
        t = rawtext.partition("=")
        self.name = t[0].strip()
        self.guidstring = t[2].strip()
        self.guid = GuidParser.uuid_from_guidstring(self.guidstring)
        if(self.guid is None):
            raise ValueError("Could not parse guid")
def _parse ( self , rawtext : str ) -> None : t = rawtext . partition ( "=" ) self . name = t [ 0 ] . strip ( ) self . guidstring = t [ 2 ] . strip ( ) self . guid = GuidParser . uuid_from_guidstring ( self . guidstring ) if ( self . guid is None ) : raise ValueError ( "Could not parse guid" )
Parses the name and guid of a declaration
Parses the name and guid of a declaration
"""Parses the name and guid of a declaration

        Args:
          rawtext: str:

        Returns:

        """
None
self
rawtext
str
None