![]() |
|
PhoenixToml
1.2.0
Toml parser for Phoenix
|
Include dependency graph for parser_toml.cpp:Go to the source code of this file.
Classes | |
| struct | PTomlParserData |
| Data used to parse a toml file. More... | |
Functions | |
| PTomlParserData | default_PTomlParserData () |
| Default value of PTomlParserData. | |
| ConfigNode * | parse_get_parent_dico (ConfigNode &parent, const PVecString &vecDicoName) |
| Get the parent dictionary by respect to the vecDicoName. | |
| DicoValue * | parse_get_parent_dico (DicoValue &parent, const PVecString &vecDicoName) |
| Get the parent dictionary by respect to the vecDicoName. | |
| bool | parse_toml_all (DicoValue &parent, PTomlParserData &data) |
| bool | parse_toml_dico_def (ConfigNode &parent, PTomlParserData &data) |
| Parse a dico definition. | |
| bool | parse_toml_dico_def (DicoValue &parent, PTomlParserData &data) |
| Parse a dico definition. | |
| bool | parse_toml_isParse (const PTomlParserData &data) |
| Say if the file parsing is enable. | |
| void | parse_toml_stopParsing (PTomlParserData &data) |
| Stop the file parsing. | |
| bool | parse_toml_table_def (ConfigNode &parent, PTomlParserData &data) |
| Parse a dico definition. | |
| bool | parse_toml_table_def (DicoValue &parent, PTomlParserData &data) |
| Parse a dico definition. | |
| bool | parse_toml_var (ConfigNode &parent, PTomlParserData &data) |
| Parse a toml var name. | |
| bool | parse_toml_var (DicoValue &dico, PTomlParserData &data) |
| Parse a toml var name. | |
| bool | parse_toml_varBase (DicoValue &var, PTomlParserData &data) |
| Parse a toml var name. | |
| bool | parse_toml_varName (PString &varName, PFileParser &parser) |
| Parse a toml var name. | |
| bool | parse_toml_varTable (DicoValue &dico, PTomlParserData &data) |
| Parse a toml var name. | |
| bool | parse_toml_varValue (ConfigNode &var, PTomlParserData &data) |
| Parse a toml var value. | |
| bool | parse_toml_varValue (DicoValue &var, PTomlParserData &data) |
| Parse a toml var name. | |
| bool | parse_tomlCompactDico (ConfigNode &parent, PTomlParserData &data) |
| Parse a compact dico definition. | |
| bool | parse_tomlCompactDico (DicoValue &parent, PTomlParserData &data) |
| Parse a compact dico definition. | |
| bool | parser_toml (ConfigNode &node, const PPath &fileName) |
| Parse a toml file. | |
| bool | parser_toml (DicoValue &dico, const PPath &fileName) |
| Parse a toml file and update the given DicoValue. | |
| bool | parser_toml_fileParser (ConfigNode &node, PTomlParserData &data) |
| Parse a toml file and update the given ConfigNode. | |
| bool | parser_toml_fileParser (DicoValue &dico, PTomlParserData &data) |
| Parse a yml file and update the given VecValue. | |
| bool | parser_tomlString (ConfigNode &node, const PString &fileContent) |
| Parse a toml string. | |
| PTomlParserData default_PTomlParserData | ( | ) |
Default value of PTomlParserData.
Definition at line 21 of file parser_toml.cpp.
References PTomlParserData::isRun.
Referenced by parser_toml(), parser_toml(), and parser_tomlString().
Here is the caller graph for this function:| ConfigNode * parse_get_parent_dico | ( | ConfigNode & | parent, |
| const PVecString & | vecDicoName ) |
Get the parent dictionary by respect to the vecDicoName.
| parent | : main DicoValue |
| vecDicoName | : name of the parent DicoValue of the following attributes |
Definition at line 404 of file parser_toml.cpp.
| DicoValue * parse_get_parent_dico | ( | DicoValue & | parent, |
| const PVecString & | vecDicoName ) |
Get the parent dictionary by respect to the vecDicoName.
| parent | : main DicoValue |
| vecDicoName | : name of the parent DicoValue of the following attributes |
Definition at line 184 of file parser_toml.cpp.
Referenced by parse_toml_dico_def(), parse_toml_dico_def(), parse_toml_table_def(), and parse_toml_table_def().
Here is the caller graph for this function:| bool parse_toml_all | ( | DicoValue & | parent, |
| PTomlParserData & | data ) |
| bool parse_toml_dico_def | ( | ConfigNode & | parent, |
| PTomlParserData & | data ) |
Parse a dico definition.
| [out] | parent | : parent ConfigNode |
| [out] | data | : parser data to be used |
Definition at line 422 of file parser_toml.cpp.
References parse_get_parent_dico(), parse_toml_isParse(), parse_toml_var(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parse_toml_dico_def | ( | DicoValue & | parent, |
| PTomlParserData & | data ) |
Parse a dico definition.
| [out] | parent | : parent VecValue |
| [out] | data | : parser data to be used |
Definition at line 198 of file parser_toml.cpp.
References parse_get_parent_dico(), parse_toml_isParse(), parse_toml_var(), and PTomlParserData::parser.
Referenced by parser_toml_fileParser(), and parser_toml_fileParser().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parse_toml_isParse | ( | const PTomlParserData & | data | ) |
Say if the file parsing is enable.
| data | : parsing data |
Definition at line 40 of file parser_toml.cpp.
References PTomlParserData::isRun.
Referenced by parse_toml_dico_def(), parse_toml_dico_def(), parse_toml_table_def(), parse_toml_table_def(), parse_toml_varValue(), parse_toml_varValue(), parse_tomlCompactDico(), parse_tomlCompactDico(), parser_toml_fileParser(), and parser_toml_fileParser().
Here is the caller graph for this function:| void parse_toml_stopParsing | ( | PTomlParserData & | data | ) |
Stop the file parsing.
| [out] | data | : parsing data |
Definition at line 33 of file parser_toml.cpp.
References PTomlParserData::isRun.
Referenced by parse_toml_var(), parse_toml_varBase(), parse_toml_varValue(), parse_toml_varValue(), parse_tomlCompactDico(), parse_tomlCompactDico(), parser_toml_fileParser(), and parser_toml_fileParser().
Here is the caller graph for this function:| bool parse_toml_table_def | ( | ConfigNode & | parent, |
| PTomlParserData & | data ) |
Parse a dico definition.
| [out] | parent | : parent ConfigNode |
| [out] | data | : parser data to be used |
Definition at line 441 of file parser_toml.cpp.
References parse_get_parent_dico(), parse_toml_isParse(), parse_toml_var(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parse_toml_table_def | ( | DicoValue & | parent, |
| PTomlParserData & | data ) |
Parse a dico definition.
| [out] | parent | : parent VecValue |
| [out] | data | : parser data to be used |
Definition at line 226 of file parser_toml.cpp.
References parse_get_parent_dico(), parse_toml_isParse(), parse_toml_var(), and PTomlParserData::parser.
Referenced by parser_toml_fileParser(), and parser_toml_fileParser().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parse_toml_var | ( | ConfigNode & | parent, |
| PTomlParserData & | data ) |
Parse a toml var name.
| [out] | parent | : parent ConfigNode to be used |
| [out] | data | : parser data to be used |
Definition at line 381 of file parser_toml.cpp.
References parse_toml_stopParsing(), parse_toml_varName(), parse_toml_varValue(), parse_tomlCompactDico(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parse_toml_var | ( | DicoValue & | dico, |
| PTomlParserData & | data ) |
Parse a toml var name.
| [out] | dico | : DicoValue to be used |
| [out] | data | : parser data to be used |
Definition at line 160 of file parser_toml.cpp.
References parse_toml_varBase().
Referenced by parse_toml_dico_def(), parse_toml_dico_def(), parse_toml_table_def(), parse_toml_table_def(), parse_tomlCompactDico(), and parse_tomlCompactDico().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parse_toml_varBase | ( | DicoValue & | var, |
| PTomlParserData & | data ) |
Parse a toml var name.
| [out] | var | : variable DicoValue to be used |
| [out] | data | : parser data to be used |
Definition at line 138 of file parser_toml.cpp.
References parse_toml_stopParsing(), parse_toml_varName(), parse_toml_varValue(), parse_tomlCompactDico(), and PTomlParserData::parser.
Referenced by parse_toml_var(), and parse_toml_varTable().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parse_toml_varName | ( | PString & | varName, |
| PFileParser & | parser ) |
Parse a toml var name.
| [out] | varName | : variable name |
| parser | : parser to be used |
Definition at line 49 of file parser_toml.cpp.
Referenced by parse_toml_var(), and parse_toml_varBase().
Here is the caller graph for this function:| bool parse_toml_varTable | ( | DicoValue & | dico, |
| PTomlParserData & | data ) |
Parse a toml var name.
| [out] | dico | : DicoValue to be used |
| [out] | data | : parser data to be used |
Definition at line 172 of file parser_toml.cpp.
References parse_toml_varBase().
Here is the call graph for this function:| bool parse_toml_varValue | ( | ConfigNode & | var, |
| PTomlParserData & | data ) |
Parse a toml var value.
| [out] | var | : ConfigNode to be updated |
| [out] | data | : parser data to be used |
Definition at line 328 of file parser_toml.cpp.
References parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_varValue(), parse_tomlCompactDico(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parse_toml_varValue | ( | DicoValue & | var, |
| PTomlParserData & | data ) |
Parse a toml var name.
| [out] | var | : Value to be updated |
| [out] | data | : parser data to be used |
Definition at line 86 of file parser_toml.cpp.
References parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_varValue(), parse_tomlCompactDico(), and PTomlParserData::parser.
Referenced by parse_toml_var(), parse_toml_varBase(), parse_toml_varValue(), and parse_toml_varValue().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parse_tomlCompactDico | ( | ConfigNode & | parent, |
| PTomlParserData & | data ) |
Parse a compact dico definition.
| [out] | parent | : parent ConfigNode |
| [out] | data | : parser data to be used |
Definition at line 301 of file parser_toml.cpp.
References parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_var(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parse_tomlCompactDico | ( | DicoValue & | parent, |
| PTomlParserData & | data ) |
Parse a compact dico definition.
| [out] | parent | : parent of parsed dico |
| [out] | data | : parser data to be used |
Definition at line 59 of file parser_toml.cpp.
References parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_var(), and PTomlParserData::parser.
Referenced by parse_toml_var(), parse_toml_varBase(), parse_toml_varValue(), and parse_toml_varValue().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parser_toml | ( | ConfigNode & | node, |
| const PPath & | fileName ) |
Parse a toml file.
| [out] | node | : ConfigNode to be updated |
| fileName | : name of the file to be parsed |
Definition at line 486 of file parser_toml.cpp.
References default_PTomlParserData(), PTomlParserData::parser, and parser_toml_fileParser().
Here is the call graph for this function:| bool parser_toml | ( | DicoValue & | dico, |
| const PPath & | fileName ) |
Parse a toml file and update the given DicoValue.
| [out] | dico | : dictionary of values |
| fileName | : name of the file to be parsed |
Definition at line 280 of file parser_toml.cpp.
References default_PTomlParserData(), PTomlParserData::parser, and parser_toml_fileParser().
Here is the call graph for this function:| bool parser_toml_fileParser | ( | ConfigNode & | node, |
| PTomlParserData & | data ) |
Parse a toml file and update the given ConfigNode.
| [out] | node | : ConfigNode to be updated |
| [out] | data | : parser data to be used |
Definition at line 462 of file parser_toml.cpp.
References PTomlParserData::isRun, parse_toml_dico_def(), parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_table_def(), and PTomlParserData::parser.
Here is the call graph for this function:| bool parser_toml_fileParser | ( | DicoValue & | dico, |
| PTomlParserData & | data ) |
Parse a yml file and update the given VecValue.
| [out] | dico | : dictionary of values |
| [out] | data | : parser data to be used |
Definition at line 256 of file parser_toml.cpp.
References PTomlParserData::isRun, parse_toml_dico_def(), parse_toml_isParse(), parse_toml_stopParsing(), parse_toml_table_def(), and PTomlParserData::parser.
Referenced by parser_toml(), parser_toml(), and parser_tomlString().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parser_tomlString | ( | ConfigNode & | node, |
| const PString & | fileContent ) |
Parse a toml string.
| [out] | node | : ConfigNode to be updated |
| fileName | : name of the file to be parsed |
Definition at line 506 of file parser_toml.cpp.
References default_PTomlParserData(), PTomlParserData::parser, and parser_toml_fileParser().
Here is the call graph for this function: