JWM Source Documentation

TokenNode Struct Reference

Structure to represent an XML tag. More...

#include <lex.h>

Data Fields

TokenType type
 Tag type.
char * invalidName
 Name of the tag if invalid.
char * value
 Body of the tag.
char * fileName
 Name of the file containing this tag.
int line
 Line number of the start of this tag.
struct AttributeNodeattributes
 Linked list of attributes.
struct TokenNodeparent
 Parent tag.
struct TokenNodesubnodeHead
 Start of children.
struct TokenNodesubnodeTail
 End of children.
struct TokenNodenext
 Next tag at the current level.

Detailed Description

Structure to represent an XML tag.

Definition at line 104 of file lex.h.


Field Documentation

Linked list of attributes.

Definition at line 111 of file lex.h.

Name of the file containing this tag.

Definition at line 109 of file lex.h.

Name of the tag if invalid.

Definition at line 107 of file lex.h.

Line number of the start of this tag.

Definition at line 110 of file lex.h.

Next tag at the current level.

Definition at line 115 of file lex.h.

Parent tag.

Definition at line 112 of file lex.h.

Start of children.

Definition at line 113 of file lex.h.

End of children.

Definition at line 114 of file lex.h.

Tag type.

Definition at line 106 of file lex.h.

Body of the tag.

Definition at line 108 of file lex.h.


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