Herb C Reference
Loading...
Searching...
No Matches
token_struct.h File Reference
#include "location.h"
#include "range.h"

Go to the source code of this file.

Data Structures

struct  TOKEN_STRUCT
 

Typedefs

typedef struct TOKEN_STRUCT token_T
 

Enumerations

enum  token_type_T {
  TOKEN_WHITESPACE , TOKEN_NBSP , TOKEN_NEWLINE , TOKEN_IDENTIFIER ,
  TOKEN_HTML_DOCTYPE , TOKEN_HTML_TAG_START , TOKEN_HTML_TAG_START_CLOSE , TOKEN_HTML_TAG_END ,
  TOKEN_HTML_TAG_SELF_CLOSE , TOKEN_HTML_COMMENT_START , TOKEN_HTML_COMMENT_END , TOKEN_ERB_START ,
  TOKEN_ERB_CONTENT , TOKEN_ERB_END , TOKEN_LT , TOKEN_SLASH ,
  TOKEN_EQUALS , TOKEN_QUOTE , TOKEN_DASH , TOKEN_UNDERSCORE ,
  TOKEN_EXCLAMATION , TOKEN_SEMICOLON , TOKEN_COLON , TOKEN_PERCENT ,
  TOKEN_AMPERSAND , TOKEN_CHARACTER , TOKEN_ERROR , TOKEN_EOF
}
 

Typedef Documentation

◆ token_T

typedef struct TOKEN_STRUCT token_T

Enumeration Type Documentation

◆ token_type_T

Enumerator
TOKEN_WHITESPACE 
TOKEN_NBSP 
TOKEN_NEWLINE 
TOKEN_IDENTIFIER 
TOKEN_HTML_DOCTYPE 
TOKEN_HTML_TAG_START 
TOKEN_HTML_TAG_START_CLOSE 
TOKEN_HTML_TAG_END 
TOKEN_HTML_TAG_SELF_CLOSE 
TOKEN_HTML_COMMENT_START 
TOKEN_HTML_COMMENT_END 
TOKEN_ERB_START 
TOKEN_ERB_CONTENT 
TOKEN_ERB_END 
TOKEN_LT 
TOKEN_SLASH 
TOKEN_EQUALS 
TOKEN_QUOTE 
TOKEN_DASH 
TOKEN_UNDERSCORE 
TOKEN_EXCLAMATION 
TOKEN_SEMICOLON 
TOKEN_COLON 
TOKEN_PERCENT 
TOKEN_AMPERSAND 
TOKEN_CHARACTER 
TOKEN_ERROR 
TOKEN_EOF