Home
last modified time | relevance | path

Searched refs:flow_style (Results 1 – 12 of 12) sorted by relevance

/third_party/PyYAML/lib/yaml/
Drepresenter.py85 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 …]
Dnodes.py37 start_mark=None, end_mark=None, flow_style=None): argument
42 self.flow_style = flow_style
Dcomposer.py106 flow_style=start_event.flow_style)
124 flow_style=start_event.flow_style)
Dserializer.py95 flow_style=node.flow_style))
105 flow_style=node.flow_style))
Devents.py23 flow_style=None): argument
29 self.flow_style = flow_style
Dparser.py340 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__.py389 flow_style=cls.yaml_flow_style)
Demitter.py246 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/
Dtest_emitter.py46 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.pyx596 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/
Dsequences.events67 - !SequenceStart { flow_style: true }
Dmappings.events27 - !MappingStart { flow_style: true }