示例#1
0
    def construct_yaml_seq(self, node):
        """
        Return a node class representing a line-marked sequence.

        """
        obj, = SafeConstructor.construct_yaml_seq(self, node)
        return ListNode(obj, node.start_mark, node.end_mark)
示例#2
0
    def construct_yaml_seq(self, node):
        """
        Return a node class representing a line-marked sequence.

        """
        obj, = SafeConstructor.construct_yaml_seq(self, node)
        return ListNode(obj, node.start_mark, node.end_mark)
示例#3
0
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     return list_node(obj, node.start_mark, node.end_mark)
示例#4
0
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     assert isinstance(obj, list)  # nosec
     return ListNode(obj, node.start_mark, node.end_mark)  # nosec
示例#5
0
 def construct_yaml_seq(self, node):
     (obj, ) = SafeConstructor.construct_yaml_seq(self, node)
     return list_node(obj, node.start_mark, node.end_mark)
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     return self._holder(obj, node)
示例#7
0
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     return list_node(obj, node_info=node)
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     return self._holder(obj, node)