Wespo  2.2
An unofficial tool to create a .po file for your wesnoth add-on
 All Classes Functions Variables
Public Attributes | List of all members
WmlNode Struct Reference

struct: WML node (used by WmlReader) More...

#include <wmlNode.h>

Public Attributes

WmlNodeupnode
 Pointer of parent WmlNode (0 if current node is a root node)
 
QString tagname
 Tag name (usually "[tag]: ").
 
QList< Wml_lineline
 important data contained by current [tag]
 
bool active
 deprecated: true if node (tag) contains at least a translatable string
 

Detailed Description

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}


The documentation for this struct was generated from the following file: