Moved yaml_parser_* functions and related to methods of the parser type.