Home
last modified time | relevance | path

Searched refs:add_path_resolver (Results 1 – 5 of 5) sorted by relevance

/third_party/PyYAML/tests/lib/
Dtest_resolver.py34 yaml.add_path_resolver('!root', [],
36 yaml.add_path_resolver('!root/scalar', [], str,
38 yaml.add_path_resolver('!root/key11/key12/*', ['key11', 'key12'],
40 yaml.add_path_resolver('!root/key21/1/*', ['key21', 1],
42 yaml.add_path_resolver('!root/key31/*/*/key14/map', ['key31', None, None, 'key14'], dict,
/third_party/PyYAML/lib/yaml/
D__init__.py287 def add_path_resolver(tag, path, kind=None, Loader=None, Dumper=Dumper): function
295 loader.Loader.add_path_resolver(tag, path, kind)
296 loader.FullLoader.add_path_resolver(tag, path, kind)
297 loader.UnsafeLoader.add_path_resolver(tag, path, kind)
299 Loader.add_path_resolver(tag, path, kind)
300 Dumper.add_path_resolver(tag, path, kind)
Dresolver.py38 def add_path_resolver(cls, tag, path, kind=None): member in BaseResolver
/third_party/PyYAML/examples/yaml-highlight/
Dyaml_hl.py32 yaml.add_path_resolver(u'tag:yaml.org,2002:python/object:__main__.Style',
34 yaml.add_path_resolver(u'tag:yaml.org,2002:pairs',
/third_party/PyYAML/
DCHANGES61 …thub.com/yaml/pyyaml/pull/305 -- Change default loader for add_implicit_resolver, add_path_resolver
209 * Fixed a bug when the path in add_path_resolver contains boolean values
256 * Fix a bug in add_path_resolver.