JWM Source Documentation
Data Fields
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.
 
const char * fileName
 Name of the file containing this tag.
 
unsigned 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 101 of file lex.h.

Field Documentation

struct AttributeNode* TokenNode::attributes
const char* TokenNode::fileName

Name of the file containing this tag.

Definition at line 106 of file lex.h.

Referenced by CreateNode(), and ParseError().

char* TokenNode::invalidName

Name of the tag if invalid.

Definition at line 104 of file lex.h.

Referenced by CreateNode(), GetTokenName(), LookupType(), and ReleaseTokens().

unsigned int TokenNode::line

Line number of the start of this tag.

Definition at line 107 of file lex.h.

Referenced by CreateNode(), and ParseError().

struct TokenNode* TokenNode::next
struct TokenNode* TokenNode::parent

Parent tag.

Definition at line 109 of file lex.h.

Referenced by CreateNode(), and Tokenize().

struct TokenNode* TokenNode::subnodeHead
struct TokenNode* TokenNode::subnodeTail

End of children.

Definition at line 111 of file lex.h.

Referenced by CreateNode().

TokenType TokenNode::type
char* TokenNode::value

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

joewing.net / Projects / JWM