webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
pddm.SourceFile Class Reference
Inheritance diagram for pddm.SourceFile:

Classes

class  DefinitionSection
 
class  ExpansionSection
 
class  ImportDefinesSection
 
class  SectionBase
 
class  TextSection
 

Public Member Functions

def __init__ (self, a_file, import_resolver=None)
 
def ProcessContent (self, strip_expansion=False)
 
def original_content (self)
 
def processed_content (self)
 

Detailed Description

Represents a source file with PDDM directives in it.

Constructor & Destructor Documentation

◆ __init__()

def pddm.SourceFile.__init__ (   self,
  a_file,
  import_resolver = None 
)
Initializes the file reading in the file.

Args:
  a_file: The file to read in.
  import_resolver: a function that given a path will return a stream for
the contents.

Raises:
  PDDMError if there are any issues.

Member Function Documentation

◆ original_content()

def pddm.SourceFile.original_content (   self)

◆ ProcessContent()

def pddm.SourceFile.ProcessContent (   self,
  strip_expansion = False 
)
Processes the file contents.

◆ processed_content()

def pddm.SourceFile.processed_content (   self)

The documentation for this class was generated from the following file: