예제 #1
0
파일: marked_yaml.py 프로젝트: wtpayne/hiai
    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
파일: marked_yaml.py 프로젝트: wtpayne/hiai
    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
파일: markedyaml.py 프로젝트: opencord/cord
 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)
예제 #8
0
 def construct_yaml_seq(self, node):
     obj, = SafeConstructor.construct_yaml_seq(self, node)
     return self._holder(obj, node)