![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
Include dependency graph for parserClassConfig.cpp:Go to the source code of this file.
Functions | |
| void | errorUnexpectedToken (const PFileParser &parser, const PString &token) |
| Affiche une erreur de token non attendu. | |
| PString | getClassName (PFileParser &parser) |
| Get class name from parser. | |
| bool | parseClassConfigAttribut (PClassConfig &config, PFileParser &parser, PString ¤tComment) |
| Parse a PClassConfig. | |
| bool | parseEnumConfig (std::vector< PClassConfig > &listClassConfig, PFileParser &parser, PString ¤tComment) |
| Parse an enum definition. | |
| bool | parseEnumValue (PClassConfig &config, PFileParser &parser, PString ¤tComment) |
| Parse enum attribute value. | |
| bool | parseParentOfClassConfig (PClassConfig &config, PFileParser &parser) |
| Parse the parents of the PClassConfig. | |
| bool | parsePClassConfig (std::vector< PClassConfig > &listClassConfig, PFileParser &parser, PString ¤tComment, PVecString &listTemplate) |
| Parse a PClassConfig. | |
| bool | parserClassConfig (std::vector< PClassConfig > &listClassConfig, PVecPath &listInclude, const PPath &fileName) |
| Parser list class config. | |
| bool | updateCurrentComment (PFileParser &parser, PString ¤tComment) |
| Fonction qui met à jour un commentaire. | |
| bool | updateCurrentTemplate (PFileParser &parser, PVecString ¤tTemplate) |
| Update a template definition. | |
| void errorUnexpectedToken | ( | const PFileParser & | parser, |
| const PString & | token ) |
Affiche une erreur de token non attendu.
| parser | : file parser |
| token | : token qui pose problème |
Definition at line 16 of file parserClassConfig.cpp.
Referenced by parseEnumConfig(), parseParentOfClassConfig(), parsePClassConfig(), and parserClassConfig().
Here is the caller graph for this function:| PString getClassName | ( | PFileParser & | parser | ) |
Get class name from parser.
| parser | : PFileParser to be used |
Definition at line 25 of file parserClassConfig.cpp.
Referenced by parseEnumConfig(), parseEnumValue(), parseParentOfClassConfig(), and parsePClassConfig().
Here is the caller graph for this function:| bool parseClassConfigAttribut | ( | PClassConfig & | config, |
| PFileParser & | parser, | ||
| PString & | currentComment ) |
Parse a PClassConfig.
| [out] | config | : PClassConfig |
| [out] | parser | : file parser |
| [out] | currentComment | : current commet |
Definition at line 67 of file parserClassConfig.cpp.
References PClassConfig::addAttribute(), and createClassAttribute().
Referenced by parsePClassConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parseEnumConfig | ( | std::vector< PClassConfig > & | listClassConfig, |
| PFileParser & | parser, | ||
| PString & | currentComment ) |
Parse an enum definition.
| [out] | listClassConfig | : list of PClassConfig |
| [out] | parser | : file parser |
| [out] | currentComment | : current comment |
Definition at line 132 of file parserClassConfig.cpp.
References errorUnexpectedToken(), getClassName(), parseEnumValue(), PClassConfig::setClassDocumentation(), PClassConfig::setIsEnum(), PClassConfig::setName(), and updateCurrentComment().
Referenced by parserClassConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parseEnumValue | ( | PClassConfig & | config, |
| PFileParser & | parser, | ||
| PString & | currentComment ) |
Parse enum attribute value.
| [out] | config | : PClassConfig |
| [out] | parser | : file parser |
| [out] | currentComment | : current commet |
Definition at line 113 of file parserClassConfig.cpp.
References PClassConfig::addAttribute(), createClassAttribute(), getClassName(), and PClassAttribute::setDefaultValue().
Referenced by parseEnumConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parseParentOfClassConfig | ( | PClassConfig & | config, |
| PFileParser & | parser ) |
Parse the parents of the PClassConfig.
| [out] | config | : PClassConfig |
| [out] | parser | : file parser |
Definition at line 88 of file parserClassConfig.cpp.
References PClassConfig::addParentClass(), errorUnexpectedToken(), and getClassName().
Referenced by parsePClassConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parsePClassConfig | ( | std::vector< PClassConfig > & | listClassConfig, |
| PFileParser & | parser, | ||
| PString & | currentComment, | ||
| PVecString & | listTemplate ) |
Parse a PClassConfig.
| [out] | listClassConfig | : list of PClassConfig |
| [out] | parser | : file parser |
| [out] | currentComment | : current comment |
| [out] | listTemplate | : list of the template to be used in the defined class |
Definition at line 168 of file parserClassConfig.cpp.
References errorUnexpectedToken(), getClassName(), PClassConfig::getName(), parseClassConfigAttribut(), parseParentOfClassConfig(), PClassConfig::setClassDocumentation(), PClassConfig::setListTemplate(), PClassConfig::setName(), and updateCurrentComment().
Referenced by parserClassConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| bool parserClassConfig | ( | std::vector< PClassConfig > & | listClassConfig, |
| PVecPath & | listInclude, | ||
| const PPath & | fileName ) |
Parser list class config.
| [out] | listClassConfig | : list of class config |
| listInclude | : list of include | |
| fileName | : file name of the config |
Definition at line 214 of file parserClassConfig.cpp.
References errorUnexpectedToken(), parseEnumConfig(), parsePClassConfig(), updateCurrentComment(), and updateCurrentTemplate().
Referenced by simple_project_load_config().
Here is the call graph for this function:
Here is the caller graph for this function:| bool updateCurrentComment | ( | PFileParser & | parser, |
| PString & | currentComment ) |
Fonction qui met à jour un commentaire.
| parser | : file parser |
| currentComment | : commentaire que l'on veut mettre à jour |
Definition at line 34 of file parserClassConfig.cpp.
Referenced by parseEnumConfig(), parsePClassConfig(), and parserClassConfig().
Here is the caller graph for this function:| bool updateCurrentTemplate | ( | PFileParser & | parser, |
| PVecString & | currentTemplate ) |
Update a template definition.
| parser | : file parser |
| currentTemplate | : template to be updated |
Definition at line 52 of file parserClassConfig.cpp.
Referenced by parserClassConfig().
Here is the caller graph for this function: