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

Public Member Functions

def BindMacroCollection (self, macro_collection)
 
def TryAppend (self, line, line_num)
 
- Public Member Functions inherited from pddm.SourceFile.SectionBase
def __init__ (self, first_line_num)
 
def Append (self, line)
 
def first_line (self)
 
def first_line_num (self)
 
def HitEOF (self)
 
def lines (self)
 
def num_lines_captured (self)
 
def text (self)
 

Detailed Description

Section containing macro definitions

Definition at line 509 of file pddm.py.

Member Function Documentation

◆ BindMacroCollection()

def pddm.SourceFile.DefinitionSection.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 525 of file pddm.py.

◆ TryAppend()

def pddm.SourceFile.DefinitionSection.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 512 of file pddm.py.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11