Public Member Functions | Public Attributes | Private Attributes | List of all members
pddm.SourceFile.ImportDefinesSection Class Reference
Inheritance diagram for pddm.SourceFile.ImportDefinesSection:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, first_line_num, import_resolver)
 
def __init__ (self, first_line_num, import_resolver)
 
def BindMacroCollection (self, macro_colletion)
 
def BindMacroCollection (self, macro_colletion)
 
def TryAppend (self, line, line_num)
 
def TryAppend (self, line, line_num)
 
- Public Member Functions inherited from pddm.SourceFile.SectionBase
def __init__ (self, first_line_num)
 
def __init__ (self, first_line_num)
 
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 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)
 

Public Attributes

 num_lines_captured
 

Private Attributes

 _import_resolver
 

Detailed Description

Section containing an import of PDDM-DEFINES from an external file.

Definition at line 535 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def pddm.SourceFile.ImportDefinesSection.__init__ (   self,
  first_line_num,
  import_resolver 
)

◆ __init__() [2/2]

def pddm.SourceFile.ImportDefinesSection.__init__ (   self,
  first_line_num,
  import_resolver 
)

Definition at line 538 of file protobuf/objectivec/DevTools/pddm.py.

Member Function Documentation

◆ BindMacroCollection() [1/2]

def pddm.SourceFile.ImportDefinesSection.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 549 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.

◆ BindMacroCollection() [2/2]

def pddm.SourceFile.ImportDefinesSection.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 549 of file protobuf/objectivec/DevTools/pddm.py.

◆ TryAppend() [1/2]

def pddm.SourceFile.ImportDefinesSection.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 542 of file protobuf/objectivec/DevTools/pddm.py.

◆ TryAppend() [2/2]

def pddm.SourceFile.ImportDefinesSection.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 542 of file bloaty/third_party/protobuf/objectivec/DevTools/pddm.py.

Member Data Documentation

◆ _import_resolver

pddm.SourceFile.ImportDefinesSection._import_resolver
private

◆ num_lines_captured

pddm.SourceFile.ImportDefinesSection.num_lines_captured

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41