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.ContentProcessor Class Reference

Public Member Functions

def __init__ (self)
 
def set_section (self, section_name)
 
def add_chapter (self, block)
 
def reset (self)
 
def add_markup (self)
 
def process_content (self, content)
 
def parse_sources (self, source_processor)
 
def finish (self)
 

Public Attributes

 sections
 
 section
 
 chapters
 
 headers
 
 markups
 
 markup
 
 markup_lines
 

Detailed Description

Definition at line 340 of file content.py.

Constructor & Destructor Documentation

◆ __init__()

def content.ContentProcessor.__init__ (   self)
initialize a block content processor

Definition at line 342 of file content.py.

References T1_Hints_FuncsRec_.reset, and content.ContentProcessor.reset().

Member Function Documentation

◆ add_chapter()

def content.ContentProcessor.add_chapter (   self,
  block 
)

Definition at line 362 of file content.py.

References content.ContentProcessor.chapters.

◆ add_markup()

def content.ContentProcessor.add_markup (   self)

◆ finish()

def content.ContentProcessor.finish (   self)

◆ parse_sources()

def content.ContentProcessor.parse_sources (   self,
  source_processor 
)

Definition at line 420 of file content.py.

◆ process_content()

def content.ContentProcessor.process_content (   self,
  content 
)
process a block content and return a list of DocMarkup objects
   corresponding to it

Definition at line 389 of file content.py.

References content.ContentProcessor.add_markup(), content.ContentProcessor.markup, content.ContentProcessor.markup_lines, and content.ContentProcessor.markups.

◆ reset()

def content.ContentProcessor.reset (   self)
reset the content processor for a new block

Definition at line 367 of file content.py.

Referenced by content.ContentProcessor.__init__(), and sources.SourceProcessor.parse_file().

◆ set_section()

def content.ContentProcessor.set_section (   self,
  section_name 
)
set current section during parsing

Definition at line 353 of file content.py.

References content.ContentProcessor.section, content.DocChapter.sections, and content.ContentProcessor.sections.

Member Data Documentation

◆ chapters

content.ContentProcessor.chapters

◆ headers

content.ContentProcessor.headers

Definition at line 351 of file content.py.

Referenced by tohtml.HtmlFormatter.block_enter().

◆ markup

content.ContentProcessor.markup

◆ markup_lines

content.ContentProcessor.markup_lines

◆ markups

content.ContentProcessor.markups

◆ section

content.ContentProcessor.section

Definition at line 347 of file content.py.

Referenced by content.ContentProcessor.set_section().

◆ sections

content.ContentProcessor.sections

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