yaml_parse
¶This module deals with the parsing of yaml streams and their conversion into FUTILE dictionaries.
Anyone which uses python knows how practical it the usage of the argparse
module.
This FORTRAN module is an attempt to combine the ideas of the argparse approach with the yaml syntax.
Quick access
Needed modules
dictionaries
(max_field_length()
, dictionary()
)Subroutines and functions
yaml_parse/
yaml_cl_parse_null
()¶Return: | parser [yaml_cl_parse] |
---|---|
Called from: | yaml_argparse() , yaml_cl_parse_free() |
yaml_parse/
yaml_cl_parse_free
(parser)¶Parameters: | parser [yaml_cl_parse,inout] |
---|---|
Use : | dictionaries_base (dict_free() ) |
Called from: | yaml_argparse() , yaml_cl_parse_cmd_line() |
Call to: | dict_free() , yaml_cl_parse_null() |
yaml_parse/
yaml_cl_parse_option
(parser, name, default_bn, help_string[, shortname[, help_dict[, first_option[, conflicts]]]])¶Parameters: |
|
---|---|
Options: |
|
Use : |
|
Called from: | |
Call to: |
|
yaml_parse/
yaml_cl_parse_option_from_string
(parser, string_bn)¶Parameters: |
|
---|---|
Use : |
|
Call to: |
|
yaml_parse/
yaml_cl_parse_option_from_dict
(parser, dict)¶Parameters: |
|
---|---|
Use : |
|
Called from: | |
Call to: |
|
yaml_parse/
yaml_argparse
(options, string_bn)¶Parameters: |
|
---|---|
Use : |
|
Call to: |
|
yaml_parse/
yaml_cl_parse_init
(parser)¶Parameters: | parser [yaml_cl_parse,inout] |
---|---|
Use : | dictionaries |
Called from: | yaml_cl_parse_cmd_line() |
Call to: | dict_free() , dict_init() , dict_iter() , dict_key() , dict_next() |
yaml_parse/
yaml_cl_parse_cmd_line
(parser[, args])¶Parameters: | parser [yaml_cl_parse,inout] |
---|---|
Options: | args [dictionary,out,optional/pointer] |
Use : | yaml_output , dictionaries , yaml_strings (f_strcpy() ) |
Called from: | yaml_argparse() |
Call to: | yaml_cl_parse_init() , f_err_check() , dict_update() , dict_free() , dict_iter() , dict_key() , dict_value() , dict_next() , dict_copy() , get_cmd() , parser_help() , yaml_cl_parse_free() , yaml_load() |
yaml_parse/
yaml_parse_errors
()¶Use : | dictionaries |
---|---|
Call to: | f_err_define() , dict_new() |
yaml_parse/
yaml_parse_from_file
(dict, fname)¶Parameters: |
|
---|---|
Use : |
|
Call to: |
|
yaml_parse/
yaml_parse_database
(dict, symbol)¶Parameters: |
|
---|---|
Use : |
|
Call to: |
yaml_parse/
yaml_parse_from_char_array
(dict, carr)¶Parameters: |
|
---|---|
Use : |
|
Called from: | |
Call to: |
|
yaml_parse/
yaml_parse_from_string
(dict, str)¶Parameters: |
|
---|---|
Use : |
|
Called from: | |
Call to: |
|
yaml_parse/
yaml_load
(string_bn[, key])¶Parameters: | string_bn [character,in] |
---|---|
Options: | key [character,in,optional] |
Return: | dict [dictionary,pointer] |
Use : | dictionaries , yaml_strings (f_strcpy() ) |
Called from: | yaml_cl_parse_option_from_string() , yaml_cl_parse_option() , yaml_cl_parse_cmd_line() |
Call to: | yaml_parse_from_string() , dict_free() , dict_value() , dict_init() , dict_copy() , dict_new() , dict_iter() |
yaml_parse/
yaml_parse_errors_finalize
()¶Use : | dictionaries_base (dict_free() ) |
---|---|
Call to: | dict_free() |