◆ __init__()
def pddm.SourceFile.SectionBase.__init__ |
( |
|
self, |
|
|
|
first_line_num |
|
) |
| |
◆ Append()
def pddm.SourceFile.SectionBase.Append |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ BindMacroCollection()
def pddm.SourceFile.SectionBase.BindMacroCollection |
( |
|
self, |
|
|
|
macro_collection |
|
) |
| |
Binds the chunk to a macro collection.
Args:
macro_collection: The collection to bind too.
◆ first_line()
def pddm.SourceFile.SectionBase.first_line |
( |
|
self | ) |
|
◆ first_line_num()
def pddm.SourceFile.SectionBase.first_line_num |
( |
|
self | ) |
|
◆ HitEOF()
def pddm.SourceFile.SectionBase.HitEOF |
( |
|
self | ) |
|
Called when the EOF was reached for for a given section.
◆ lines()
def pddm.SourceFile.SectionBase.lines |
( |
|
self | ) |
|
◆ num_lines_captured()
def pddm.SourceFile.SectionBase.num_lines_captured |
( |
|
self | ) |
|
◆ text()
def pddm.SourceFile.SectionBase.text |
( |
|
self | ) |
|
◆ TryAppend()
def pddm.SourceFile.SectionBase.TryAppend |
( |
|
self, |
|
|
|
line, |
|
|
|
line_num |
|
) |
| |
Try appending a line.
Args:
line: The line to append.
line_num: The number of the line.
Returns:
A tuple of (SUCCESS, CAN_ADD_MORE). If SUCCESS if False, the line
wasn't append. If SUCCESS is True, then CAN_ADD_MORE is True/False to
indicate if more lines can be added after this one.
The documentation for this class was generated from the following file:
- Source/ThirdParty/libwebrtc/Source/third_party/protobuf/objectivec/DevTools/pddm.py