webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
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) |
Represents a source file with PDDM directives in it.
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.
def pddm.SourceFile.original_content | ( | self | ) |
def pddm.SourceFile.ProcessContent | ( | self, | |
strip_expansion = False |
|||
) |
Processes the file contents.
def pddm.SourceFile.processed_content | ( | self | ) |