Public Member Functions | |
def | __init__ (self, first_line_num) |
def | __init__ (self, first_line_num) |
def | Append (self, line) |
def | Append (self, line) |
def | BindMacroCollection (self, macro_collection) |
def | BindMacroCollection (self, macro_collection) |
def | first_line (self) |
def | first_line (self) |
def | first_line_num (self) |
def | first_line_num (self) |
def | HitEOF (self) |
def | HitEOF (self) |
def | lines (self) |
def | lines (self) |
def | num_lines_captured (self) |
def | num_lines_captured (self) |
def | text (self) |
def | text (self) |
def | TryAppend (self, line, line_num) |
def | TryAppend (self, line, line_num) |
Private Attributes | |
_first_line_num | |
_lines | |
Definition at line 380 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.__init__ | ( | self, | |
first_line_num | |||
) |
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 382 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.__init__ | ( | self, | |
first_line_num | |||
) |
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 382 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.Append | ( | self, | |
line | |||
) |
Definition at line 413 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.Append | ( | self, | |
line | |||
) |
Definition at line 413 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.BindMacroCollection | ( | self, | |
macro_collection | |||
) |
Binds the chunk to a macro collection. Args: macro_collection: The collection to bind too.
Reimplemented in pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 405 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.BindMacroCollection | ( | self, | |
macro_collection | |||
) |
Binds the chunk to a macro collection. Args: macro_collection: The collection to bind too.
Reimplemented in pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 405 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.first_line | ( | self | ) |
Definition at line 429 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.first_line | ( | self | ) |
Definition at line 429 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.first_line_num | ( | self | ) |
Definition at line 425 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.first_line_num | ( | self | ) |
Definition at line 425 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.HitEOF | ( | self | ) |
Called when the EOF was reached for for a given section.
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 401 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.HitEOF | ( | self | ) |
Called when the EOF was reached for for a given section.
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 401 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.lines | ( | self | ) |
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 417 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.lines | ( | self | ) |
Reimplemented in pddm.SourceFile.ExpansionSection, and pddm.SourceFile.ExpansionSection.
Definition at line 417 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.num_lines_captured | ( | self | ) |
Definition at line 421 of file protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.num_lines_captured | ( | self | ) |
Definition at line 421 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.text | ( | self | ) |
Definition at line 435 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
def pddm.SourceFile.SectionBase.text | ( | self | ) |
Definition at line 435 of file protobuf/objectivec/DevTools/pddm.py.
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.
Reimplemented in pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.ExpansionSection, pddm.SourceFile.ExpansionSection, pddm.SourceFile.TextSection, and pddm.SourceFile.TextSection.
Definition at line 386 of file protobuf/objectivec/DevTools/pddm.py.
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.
Reimplemented in pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.ImportDefinesSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.DefinitionSection, pddm.SourceFile.ExpansionSection, pddm.SourceFile.ExpansionSection, pddm.SourceFile.TextSection, and pddm.SourceFile.TextSection.
Definition at line 386 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
|
private |
Definition at line 384 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.
|
private |
Definition at line 383 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.