Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Public Attributes | List of all members
sources.SourceProcessor Class Reference

SOURCE PROCESSOR CLASS. More...

Public Member Functions

def __init__ (self)
 
def reset (self)
 
def parse_file (self, filename)
 
def process_normal_line (self, line)
 
def add_block_lines (self)
 
def dump (self)
 

Public Attributes

 blocks
 
 filename
 
 format
 
 lines
 
 lineno
 

Detailed Description

SOURCE PROCESSOR CLASS.

The SourceProcessor is in charge of reading a C source file and decomposing it into a series of different "SourceBlock" objects.

each one of these blocks can be made of the following data:

Definition at line 270 of file sources.py.

Constructor & Destructor Documentation

◆ __init__()

def sources.SourceProcessor.__init__ (   self)
initialize a source processor

Definition at line 272 of file sources.py.

Member Function Documentation

◆ add_block_lines()

def sources.SourceProcessor.add_block_lines (   self)

◆ dump()

def sources.SourceProcessor.dump (   self)
print all blocks in a processor

Definition at line 342 of file sources.py.

References formatter.Formatter.blocks, internal_state.blocks, sources.SourceProcessor.blocks, and content.DocSection.blocks.

◆ parse_file()

def sources.SourceProcessor.parse_file (   self,
  filename 
)

◆ process_normal_line()

def sources.SourceProcessor.process_normal_line (   self,
  line 
)

◆ reset()

def sources.SourceProcessor.reset (   self)

Member Data Documentation

◆ blocks

sources.SourceProcessor.blocks

◆ filename

sources.SourceProcessor.filename

◆ format

sources.SourceProcessor.format

◆ lineno

sources.SourceProcessor.lineno

◆ lines

sources.SourceProcessor.lines

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