OpenQuizz
Une application de gestion des contenus pédagogiques
TomlPreserveCommentDecoder Class Reference
Inheritance diagram for TomlPreserveCommentDecoder:
Collaboration diagram for TomlPreserveCommentDecoder:

Public Member Functions

def __init__ (self, _dict=dict)
 
def preserve_comment (self, line_no, key, comment, beginline)
 
def embed_comments (self, idx, currentlevel)
 
- Public Member Functions inherited from TomlDecoder
def get_empty_table (self)
 
def get_empty_inline_table (self)
 
def load_inline_object (self, line, currentlevel, multikey=False, multibackslash=False)
 
def load_line (self, line, currentlevel, multikey, multibackslash)
 
def load_value (self, v, strictly_valid=True)
 
def bounded_string (self, s)
 
def load_array (self, a)
 

Data Fields

 saved_comments
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  _dict = dict 
)

Reimplemented from TomlDecoder.

Member Function Documentation

◆ embed_comments()

def embed_comments (   self,
  idx,
  currentlevel 
)

Reimplemented from TomlDecoder.

◆ preserve_comment()

def preserve_comment (   self,
  line_no,
  key,
  comment,
  beginline 
)

Reimplemented from TomlDecoder.

Field Documentation

◆ saved_comments

saved_comments

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