#include <vrmltypes.h>
Each node should have some fields, a parent and a type. It may have some children, successors, and an identifier. This struct allow the storing of the needed data, in an independent way from the node type.
Data Fields | |
node_type | type |
The type of the node. | |
void * | parent |
The parent node in the same context. | |
void * | next |
The next node in the same context. | |
void * | child |
The first of its child in the new context defined by itself. | |
void * | fields |
The fields of this node. | |
char * | id |
Its identification symbol. |
|
The first of its child in the new context defined by itself.
|
|
The fields of this node.
|
|
Its identification symbol.
|
|
The next node in the same context.
|
|
The parent node in the same context.
|
|
The type of the node.
|