edk2toollib/uefi/edk2/parsers/dsc_parser.py
def __ProcessMore(self, lines, file_name=None):
        '''
        ProcessMore runs after ProcessDefines and does a full parsing of the DSC
        Everything is resolved to a final state
        '''
        if(len(lines) == 0):
            return
        for index in range(0, len(lines)):
            # we try here so that we can catch exceptions from individual lines
            try:
                raw_line = lines[index]
                (line, add, new_file) = self.__ParseLine(raw_line, file_name=file_name, lineno=index + 1)
                if(len(line) > 0):
                    self.Lines.append(line)
                self.__ProcessMore(add, file_name=new_file)
            except Exception as e:
                # check if we're in no fail mode or not
                if not self._no_fail_mode:  # if we are, fail
                    raise
                else:
                    # otherwise, let the user know that we failed in the DSC
                    self.Logger.warning(f"DSC Parser (No-Fail Mode): {raw_line}")
                    self.Logger.warning(e)

        ProcessMore runs after ProcessDefines and does a full parsing of the DSC
        Everything is resolved to a final state
        
ProcessMore runs after ProcessDefines and does a full parsing of the DSC
Everything is resolved to a final state
ProcessMore runs after ProcessDefines and does a full parsing of the DSC Everything is resolved to a final state
def __ProcessMore(self, lines, file_name=None):
        if(len(lines) == 0):
            return
        for index in range(0, len(lines)):
            try:
                raw_line = lines[index]
                (line, add, new_file) = self.__ParseLine(raw_line, file_name=file_name, lineno=index + 1)
                if(len(line) > 0):
                    self.Lines.append(line)
                self.__ProcessMore(add, file_name=new_file)
            except Exception as e:
                if not self._no_fail_mode:  
                    raise
                else:
                    self.Logger.warning(f"DSC Parser (No-Fail Mode): {raw_line}")
                    self.Logger.warning(e)
def __ProcessMore ( self , lines , file_name = None ) : if ( len ( lines ) == 0 ) : return for index in range ( 0 , len ( lines ) ) : try : raw_line = lines [ index ] ( line , add , new_file ) = self . __ParseLine ( raw_line , file_name = file_name , lineno = index + 1 ) if ( len ( line ) > 0 ) : self . Lines . append ( line ) self . __ProcessMore ( add , file_name = new_file ) except Exception as e : if not self . _no_fail_mode : raise else : self . Logger . warning ( f"DSC Parser (No-Fail Mode): {raw_line}" ) self . Logger . warning ( e )
ProcessMore runs after ProcessDefines and does a full parsing of the DSC
Everything is resolved to a final state
ProcessMore runs after ProcessDefines and does a full parsing of the DSC Everything is resolved to a final state
'''
        ProcessMore runs after ProcessDefines and does a full parsing of the DSC
        Everything is resolved to a final state
        ''' # we try here so that we can catch exceptions from individual lines # check if we're in no fail mode or not # if we are, fail # otherwise, let the user know that we failed in the DSC
self
lines
file_name