![]() |
Wespo
2.2
An unofficial tool to create a .po file for your wesnoth add-on
|
struct: WML node (used by WmlReader) More...
#include <wmlNode.h>
Public Attributes | |
| WmlNode * | upnode |
| Pointer of parent WmlNode (0 if current node is a root node) | |
| QString | tagname |
| Tag name (usually "[tag]: "). | |
| QList< Wml_line > | line |
| important data contained by current [tag] | |
| bool | active |
| deprecated: true if node (tag) contains at least a translatable string | |
struct: WML node (used by WmlReader)
When parsing a WML file, all datas will be stored in memory as a list of Wml Nodes. A Wml Node contains all important datas for a single WML tag, including tagname and WML data (saved as Wml_line list) A Wml Node contains also a pointer that points to parent WmlNode (useful when closing a tag, to come back to the parent tag) #define MACRO is treated as a tag Macro Call is treated as tag (example: {MACRO X}
1.8.6