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
content.DocCode Class Reference

The DocCode class is used to store source code lines. More...

Public Member Functions

def __init__ (self, margin, lines)
 
def dump (self, prefix="", width=60)
 
def dump_lines (self, margin=0, width=60)
 

Public Attributes

 lines
 
 words
 

Detailed Description

The DocCode class is used to store source code lines.

'self.lines' contains a set of source code lines that will be dumped as HTML in a

 tag.
   The object is filled line by line by the parser; it strips the leading
   "margin" space from each input line before storing it in 'self.lines'.

Definition at line 55 of file content.py.

Constructor & Destructor Documentation

◆ __init__()

def content.DocCode.__init__ (   self,
  margin,
  lines 
)

Definition at line 57 of file content.py.

Member Function Documentation

◆ dump()

def content.DocCode.dump (   self,
  prefix = "",
  width = 60 
)

Definition at line 67 of file content.py.

References content.DocCode.dump_lines().

◆ dump_lines()

def content.DocCode.dump_lines (   self,
  margin = 0,
  width = 60 
)

Definition at line 72 of file content.py.

References content.DocCode.lines.

Referenced by content.DocCode.dump(), and content.DocPara.dump().

Member Data Documentation

◆ lines

content.DocCode.lines

◆ words

content.DocCode.words

Definition at line 59 of file content.py.

Referenced by content.DocPara.dump_lines().


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