Represents a source file with PDDM directives in it.
Definition at line 361 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
◆ __init__() [1/2]
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.
Definition at line 364 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
◆ __init__() [2/2]
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.
Definition at line 364 of file protobuf/objectivec/DevTools/pddm.py.
◆ _MakeSection() [1/2]
def pddm.SourceFile._MakeSection |
( |
|
self, |
|
|
|
line, |
|
|
|
line_num |
|
) |
| |
|
private |
◆ _MakeSection() [2/2]
def pddm.SourceFile._MakeSection |
( |
|
self, |
|
|
|
line, |
|
|
|
line_num |
|
) |
| |
|
private |
◆ _ParseFile() [1/2]
def pddm.SourceFile._ParseFile |
( |
|
self | ) |
|
|
private |
◆ _ParseFile() [2/2]
def pddm.SourceFile._ParseFile |
( |
|
self | ) |
|
|
private |
◆ original_content() [1/2]
def pddm.SourceFile.original_content |
( |
|
self | ) |
|
◆ original_content() [2/2]
def pddm.SourceFile.original_content |
( |
|
self | ) |
|
◆ ProcessContent() [1/2]
def pddm.SourceFile.ProcessContent |
( |
|
self, |
|
|
|
strip_expansion = False |
|
) |
| |
◆ ProcessContent() [2/2]
def pddm.SourceFile.ProcessContent |
( |
|
self, |
|
|
|
strip_expansion = False |
|
) |
| |
◆ processed_content() [1/2]
def pddm.SourceFile.processed_content |
( |
|
self | ) |
|
◆ processed_content() [2/2]
def pddm.SourceFile.processed_content |
( |
|
self | ) |
|
◆ _import_resolver
pddm.SourceFile._import_resolver |
|
private |
◆ _original_content
pddm.SourceFile._original_content |
|
private |
◆ _processed_content
pddm.SourceFile._processed_content |
|
private |
◆ _sections
pddm.SourceFile._sections |
|
private |
The documentation for this class was generated from the following file: