Function construct_document

Synopsis

def construct_document(self, node)

Description

No description yet.

Source

Lines 54-66 in lib3/yaml/constructor.py.

def construct_document(self, node):
    data = self.construct_object(node)
    while self.state_generators:
        state_generators = self.state_generators
        self.state_generators = []
        for generator in state_generators:
            for dummy in generator:
                pass
    self.constructed_objects = {}
    self.recursive_objects = {}
    self.deep_construct = False
    return data





Add Discussion as Guest

Log in