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

Public Member Functions

def construct_scalar (self, node)
 
def flatten_mapping (self, node)
 
def construct_mapping (self, node, deep=False)
 
def construct_yaml_null (self, node)
 
def construct_yaml_bool (self, node)
 
def construct_yaml_int (self, node)
 
def construct_yaml_float (self, node)
 
def construct_yaml_binary (self, node)
 
def construct_yaml_timestamp (self, node)
 
def construct_yaml_omap (self, node)
 
def construct_yaml_pairs (self, node)
 
def construct_yaml_set (self, node)
 
def construct_yaml_str (self, node)
 
def construct_yaml_seq (self, node)
 
def construct_yaml_map (self, node)
 
def construct_yaml_object (self, node, cls)
 
def construct_undefined (self, node)
 
- Public Member Functions inherited from BaseConstructor
def __init__ (self)
 
def check_data (self)
 
def check_state_key (self, key)
 
def get_data (self)
 
def get_single_data (self)
 
def construct_document (self, node)
 
def construct_object (self, node, deep=False)
 
def construct_sequence (self, node, deep=False)
 
def construct_pairs (self, node, deep=False)
 
def add_constructor (cls, tag, constructor)
 
def add_multi_constructor (cls, tag_prefix, multi_constructor)
 

Static Public Attributes

 bool_values
 
 inf_value
 
 nan_value
 
 timestamp_regexp
 
- Static Public Attributes inherited from BaseConstructor
 yaml_constructors
 
 yaml_multi_constructors
 

Additional Inherited Members

- Data Fields inherited from BaseConstructor
 constructed_objects
 
 recursive_objects
 
 state_generators
 
 deep_construct
 

Member Function Documentation

◆ construct_mapping()

def construct_mapping (   self,
  node,
  deep = False 
)

Reimplemented from BaseConstructor.

◆ construct_scalar()

def construct_scalar (   self,
  node 
)

Reimplemented from BaseConstructor.

◆ construct_undefined()

def construct_undefined (   self,
  node 
)

◆ construct_yaml_binary()

def construct_yaml_binary (   self,
  node 
)

◆ construct_yaml_bool()

def construct_yaml_bool (   self,
  node 
)

◆ construct_yaml_float()

def construct_yaml_float (   self,
  node 
)

◆ construct_yaml_int()

def construct_yaml_int (   self,
  node 
)

◆ construct_yaml_map()

def construct_yaml_map (   self,
  node 
)

◆ construct_yaml_null()

def construct_yaml_null (   self,
  node 
)

◆ construct_yaml_object()

def construct_yaml_object (   self,
  node,
  cls 
)

◆ construct_yaml_omap()

def construct_yaml_omap (   self,
  node 
)

◆ construct_yaml_pairs()

def construct_yaml_pairs (   self,
  node 
)

◆ construct_yaml_seq()

def construct_yaml_seq (   self,
  node 
)

◆ construct_yaml_set()

def construct_yaml_set (   self,
  node 
)

◆ construct_yaml_str()

def construct_yaml_str (   self,
  node 
)

◆ construct_yaml_timestamp()

def construct_yaml_timestamp (   self,
  node 
)

◆ flatten_mapping()

def flatten_mapping (   self,
  node 
)

Field Documentation

◆ bool_values

bool_values
static

◆ inf_value

inf_value
static

◆ nan_value

nan_value
static

◆ timestamp_regexp

timestamp_regexp
static

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