yaml :: loader :: Loader :: Class Loader
[frames] | no frames]

Class Loader


Nested Classes

Inherited from constructor.Constructor: classobj

Instance Methods
 
__init__(self, stream)
Initialize the scanner.

Inherited from reader.Reader: check_printable, determine_encoding, forward, get_mark, peek, prefix, update, update_raw

Inherited from scanner.Scanner: add_indent, check_block_entry, check_directive, check_document_end, check_document_start, check_key, check_plain, check_token, check_value, fetch_alias, fetch_anchor, fetch_block_entry, fetch_block_scalar, fetch_directive, fetch_document_end, fetch_document_indicator, fetch_document_start, fetch_double, fetch_flow_collection_end, fetch_flow_collection_start, fetch_flow_entry, fetch_flow_mapping_end, fetch_flow_mapping_start, fetch_flow_scalar, fetch_flow_sequence_end, fetch_flow_sequence_start, fetch_folded, fetch_key, fetch_literal, fetch_more_tokens, fetch_plain, fetch_single, fetch_stream_end, fetch_stream_start, fetch_tag, fetch_value, get_token, need_more_tokens, next_possible_simple_key, peek_token, remove_possible_simple_key, save_possible_simple_key, scan_anchor, scan_block_scalar, scan_block_scalar_breaks, scan_block_scalar_ignored_line, scan_block_scalar_indentation, scan_block_scalar_indicators, scan_directive, scan_directive_ignored_line, scan_directive_name, scan_flow_scalar, scan_flow_scalar_breaks, scan_flow_scalar_non_spaces, scan_flow_scalar_spaces, scan_line_break, scan_plain, scan_plain_spaces, scan_tag, scan_tag_directive_handle, scan_tag_directive_prefix, scan_tag_directive_value, scan_tag_handle, scan_tag_uri, scan_to_next_token, scan_uri_escapes, scan_yaml_directive_number, scan_yaml_directive_value, stale_possible_simple_keys, unwind_indent

Inherited from parser.Parser: check_event, dispose, get_event, parse_block_mapping_first_key, parse_block_mapping_key, parse_block_mapping_value, parse_block_node, parse_block_node_or_indentless_sequence, parse_block_sequence_entry, parse_block_sequence_first_entry, parse_document_content, parse_document_end, parse_document_start, parse_flow_mapping_empty_value, parse_flow_mapping_first_key, parse_flow_mapping_key, parse_flow_mapping_value, parse_flow_node, parse_flow_sequence_entry, parse_flow_sequence_entry_mapping_end, parse_flow_sequence_entry_mapping_key, parse_flow_sequence_entry_mapping_value, parse_flow_sequence_first_entry, parse_implicit_document_start, parse_indentless_sequence_entry, parse_node, parse_stream_start, peek_event, process_directives, process_empty_scalar

Inherited from composer.Composer: check_node, compose_document, compose_mapping_node, compose_node, compose_scalar_node, compose_sequence_node, get_node, get_single_node

Inherited from constructor.Constructor: construct_python_complex, construct_python_long, construct_python_module, construct_python_name, construct_python_object, construct_python_object_apply, construct_python_object_new, construct_python_str, construct_python_tuple, construct_python_unicode, find_python_module, find_python_name, make_python_instance, set_python_instance_state

Inherited from constructor.SafeConstructor: construct_mapping, construct_scalar, construct_undefined, construct_yaml_binary, construct_yaml_bool, construct_yaml_float, construct_yaml_int, construct_yaml_map, construct_yaml_null, construct_yaml_object, construct_yaml_omap, construct_yaml_pairs, construct_yaml_seq, construct_yaml_set, construct_yaml_str, construct_yaml_timestamp, flatten_mapping

Inherited from constructor.BaseConstructor: check_data, construct_document, construct_object, construct_pairs, construct_sequence, get_data, get_single_data

Inherited from resolver.BaseResolver: ascend_resolver, check_resolver_prefix, descend_resolver, resolve

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from constructor.BaseConstructor: add_constructor, add_multi_constructor

Inherited from resolver.BaseResolver: add_implicit_resolver, add_path_resolver

Class Variables
  yaml_constructors = {None: <unbound method SafeConstructor.con...

Inherited from reader.Reader: NON_PRINTABLE

Inherited from scanner.Scanner: ESCAPE_CODES, ESCAPE_REPLACEMENTS

Inherited from parser.Parser: DEFAULT_TAGS

Inherited from constructor.Constructor: yaml_multi_constructors

Inherited from constructor.SafeConstructor: bool_values, inf_value, nan_value, timestamp_regexp

Inherited from resolver.Resolver: yaml_implicit_resolvers

Inherited from resolver.BaseResolver: DEFAULT_MAPPING_TAG, DEFAULT_SCALAR_TAG, DEFAULT_SEQUENCE_TAG, yaml_path_resolvers

Properties

Inherited from object: __class__

Method Details

__init__(self, stream)
(Constructor)

 

Initialize the scanner.

Overrides: object.__init__
(inherited documentation)

Class Variable Details

yaml_constructors

Value:
{None: <unbound method SafeConstructor.construct_undefined>,
 u'tag:yaml.org,2002:binary': <unbound method SafeConstructor.construc\
t_yaml_binary>,
 u'tag:yaml.org,2002:bool': <unbound method SafeConstructor.construct_\
yaml_bool>,
 u'tag:yaml.org,2002:float': <unbound method SafeConstructor.construct\
_yaml_float>,
 u'tag:yaml.org,2002:int': <unbound method SafeConstructor.construct_y\
...