Searched refs:flow_style (Results 1 – 12 of 12) sorted by relevance
/third_party/PyYAML/lib/yaml/ |
D | representer.py | 85 def represent_sequence(self, tag, sequence, flow_style=None): argument 87 node = SequenceNode(tag, value, flow_style=flow_style) 96 if flow_style is None: 98 node.flow_style = self.default_flow_style 100 node.flow_style = best_style 103 def represent_mapping(self, tag, mapping, flow_style=None): argument 105 node = MappingNode(tag, value, flow_style=flow_style) 124 if flow_style is None: 126 node.flow_style = self.default_flow_style 128 node.flow_style = best_style [all …]
|
D | nodes.py | 37 start_mark=None, end_mark=None, flow_style=None): argument 42 self.flow_style = flow_style
|
D | composer.py | 106 flow_style=start_event.flow_style) 124 flow_style=start_event.flow_style)
|
D | serializer.py | 95 flow_style=node.flow_style)) 105 flow_style=node.flow_style))
|
D | events.py | 23 flow_style=None): argument 29 self.flow_style = flow_style
|
D | parser.py | 340 start_mark, end_mark, flow_style=True) 345 start_mark, end_mark, flow_style=True) 350 start_mark, end_mark, flow_style=False) 355 start_mark, end_mark, flow_style=False) 490 flow_style=True)
|
D | __init__.py | 389 flow_style=cls.yaml_flow_style)
|
D | emitter.py | 246 if self.flow_level or self.canonical or self.event.flow_style \ 252 if self.flow_level or self.canonical or self.event.flow_style \
|
/third_party/PyYAML/tests/lib/ |
D | test_emitter.py | 46 for flow_style in [False, True]: 55 event.implicit, flow_style=flow_style) 58 event.implicit, flow_style=flow_style) 62 … print("OUTPUT (filename=%r, flow_style=%r, style=%r)" % (filename, flow_style, style))
|
/third_party/PyYAML/yaml/ |
D | _yaml.pyx | 596 flow_style = None 598 flow_style = True 600 flow_style = False 602 start_mark, end_mark, flow_style) 613 flow_style = None 615 flow_style = True 617 flow_style = False 619 start_mark, end_mark, flow_style) 793 flow_style = None 795 flow_style = True [all …]
|
/third_party/PyYAML/tests/data/ |
D | sequences.events | 67 - !SequenceStart { flow_style: true }
|
D | mappings.events | 27 - !MappingStart { flow_style: true }
|