
Public Member Functions | |
| def | __init__ (self, first_line_num) |
| def | __init__ (self, first_line_num) |
| def | BindMacroCollection (self, macro_collection) |
| def | BindMacroCollection (self, macro_collection) |
| def | HitEOF (self) |
| def | HitEOF (self) |
| def | lines (self) |
| def | lines (self) |
| def | TryAppend (self, line, line_num) |
| def | TryAppend (self, line, line_num) |
Public Member Functions inherited from pddm.SourceFile.SectionBase | |
| def | Append (self, line) |
| def | Append (self, line) |
| def | first_line (self) |
| def | first_line (self) |
| def | first_line_num (self) |
| def | first_line_num (self) |
| def | num_lines_captured (self) |
| def | num_lines_captured (self) |
| def | text (self) |
| def | text (self) |
Private Attributes | |
| _macro_collection | |
Section that is the result of an macro expansion.
Definition at line 447 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.__init__ | ( | self, | |
| first_line_num | |||
| ) |
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 450 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.__init__ | ( | self, | |
| first_line_num | |||
| ) |
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 450 of file protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.BindMacroCollection | ( | self, | |
| macro_collection | |||
| ) |
Binds the chunk to a macro collection. Args: macro_collection: The collection to bind too.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 472 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.BindMacroCollection | ( | self, | |
| macro_collection | |||
| ) |
Binds the chunk to a macro collection. Args: macro_collection: The collection to bind too.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 472 of file protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.HitEOF | ( | self | ) |
Called when the EOF was reached for for a given section.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 468 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.HitEOF | ( | self | ) |
Called when the EOF was reached for for a given section.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 468 of file protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.lines | ( | self | ) |
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 476 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.lines | ( | self | ) |
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 476 of file protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.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.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 454 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
| def pddm.SourceFile.ExpansionSection.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.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 454 of file protobuf/objectivec/DevTools/pddm.py.
|
private |
Definition at line 452 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.