php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_HTML_TOKENIZER_ERROR_H
8#define LEXBOR_HTML_TOKENIZER_ERROR_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "lexbor/core/base.h"
16
18
19
20typedef enum {
21 /* abrupt-closing-of-empty-comment */
23 /* abrupt-doctype-public-identifier */
25 /* abrupt-doctype-system-identifier */
27 /* absence-of-digits-in-numeric-character-reference */
29 /* cdata-in-html-content */
31 /* character-reference-outside-unicode-range */
33 /* control-character-in-input-stream */
35 /* control-character-reference */
37 /* end-tag-with-attributes */
39 /* duplicate-attribute */
41 /* end-tag-with-trailing-solidus */
43 /* eof-before-tag-name */
45 /* eof-in-cdata */
47 /* eof-in-comment */
49 /* eof-in-doctype */
51 /* eof-in-script-html-comment-like-text */
53 /* eof-in-tag */
55 /* incorrectly-closed-comment */
57 /* incorrectly-opened-comment */
59 /* invalid-character-sequence-after-doctype-name */
61 /* invalid-first-character-of-tag-name */
63 /* missing-attribute-value */
65 /* missing-doctype-name */
67 /* missing-doctype-public-identifier */
69 /* missing-doctype-system-identifier */
71 /* missing-end-tag-name */
73 /* missing-quote-before-doctype-public-identifier */
75 /* missing-quote-before-doctype-system-identifier */
77 /* missing-semicolon-after-character-reference */
79 /* missing-whitespace-after-doctype-public-keyword */
81 /* missing-whitespace-after-doctype-system-keyword */
83 /* missing-whitespace-before-doctype-name */
85 /* missing-whitespace-between-attributes */
87 /* missing-whitespace-between-doctype-public-and-system-identifiers */
89 /* nested-comment */
91 /* noncharacter-character-reference */
93 /* noncharacter-in-input-stream */
95 /* non-void-html-element-start-tag-with-trailing-solidus */
97 /* null-character-reference */
99 /* surrogate-character-reference */
101 /* surrogate-in-input-stream */
103 /* unexpected-character-after-doctype-system-identifier */
105 /* unexpected-character-in-attribute-name */
107 /* unexpected-character-in-unquoted-attribute-value */
109 /* unexpected-equals-sign-before-attribute-name */
111 /* unexpected-null-character */
113 /* unexpected-question-mark-instead-of-tag-name */
115 /* unexpected-solidus-in-tag */
117 /* unknown-named-character-reference */
120}
122
128
129
132 const lxb_char_t *pos,
134
135
136#ifdef __cplusplus
137} /* extern "C" */
138#endif
139
140#endif /* LEXBOR_HTML_TOKENIZER_ERROR_H */
141
#define LXB_API
Definition def.h:48
LXB_API lxb_html_tokenizer_error_t * lxb_html_tokenizer_error_add(lexbor_array_obj_t *parse_errors, const lxb_char_t *pos, lxb_html_tokenizer_error_id_t id)
Definition error.c:11
lxb_html_tokenizer_error_id_t
Definition error.h:20
@ LXB_HTML_TOKENIZER_ERROR_UNCHINUNATVA
Definition error.h:108
@ LXB_HTML_TOKENIZER_ERROR_SUININST
Definition error.h:102
@ LXB_HTML_TOKENIZER_ERROR_INCHSEAFDONA
Definition error.h:60
@ LXB_HTML_TOKENIZER_ERROR_MIDOPUID
Definition error.h:68
@ LXB_HTML_TOKENIZER_ERROR_MIDOSYID
Definition error.h:70
@ LXB_HTML_TOKENIZER_ERROR_INCLCO
Definition error.h:56
@ LXB_HTML_TOKENIZER_ERROR_ABDOPUID
Definition error.h:24
@ LXB_HTML_TOKENIZER_ERROR_NECO
Definition error.h:90
@ LXB_HTML_TOKENIZER_ERROR_MIATVA
Definition error.h:64
@ LXB_HTML_TOKENIZER_ERROR_UNNACHRE
Definition error.h:118
@ LXB_HTML_TOKENIZER_ERROR_MIWHBEDONA
Definition error.h:84
@ LXB_HTML_TOKENIZER_ERROR_UNEQSIBEATNA
Definition error.h:110
@ LXB_HTML_TOKENIZER_ERROR_SUCHRE
Definition error.h:100
@ LXB_HTML_TOKENIZER_ERROR_ABCLOFEMCO
Definition error.h:22
@ LXB_HTML_TOKENIZER_ERROR_COCHRE
Definition error.h:36
@ LXB_HTML_TOKENIZER_ERROR_MIWHAFDOPUKE
Definition error.h:80
@ LXB_HTML_TOKENIZER_ERROR_MIWHAFDOSYKE
Definition error.h:82
@ LXB_HTML_TOKENIZER_ERROR_MISEAFCHRE
Definition error.h:78
@ LXB_HTML_TOKENIZER_ERROR_UNCHINATNA
Definition error.h:106
@ LXB_HTML_TOKENIZER_ERROR_ENTAWIAT
Definition error.h:38
@ LXB_HTML_TOKENIZER_ERROR_EOINTA
Definition error.h:54
@ LXB_HTML_TOKENIZER_ERROR_ENTAWITRSO
Definition error.h:42
@ LXB_HTML_TOKENIZER_ERROR_LAST_ENTRY
Definition error.h:119
@ LXB_HTML_TOKENIZER_ERROR_UNNUCH
Definition error.h:112
@ LXB_HTML_TOKENIZER_ERROR_UNCHAFDOSYID
Definition error.h:104
@ LXB_HTML_TOKENIZER_ERROR_EOINCO
Definition error.h:48
@ LXB_HTML_TOKENIZER_ERROR_EOINSCHTCOLITE
Definition error.h:52
@ LXB_HTML_TOKENIZER_ERROR_MIDONA
Definition error.h:66
@ LXB_HTML_TOKENIZER_ERROR_DUAT
Definition error.h:40
@ LXB_HTML_TOKENIZER_ERROR_INFICHOFTANA
Definition error.h:62
@ LXB_HTML_TOKENIZER_ERROR_ABOFDIINNUCHRE
Definition error.h:28
@ LXB_HTML_TOKENIZER_ERROR_INOPCO
Definition error.h:58
@ LXB_HTML_TOKENIZER_ERROR_MIENTANA
Definition error.h:72
@ LXB_HTML_TOKENIZER_ERROR_NOININST
Definition error.h:94
@ LXB_HTML_TOKENIZER_ERROR_EOBETANA
Definition error.h:44
@ LXB_HTML_TOKENIZER_ERROR_MIQUBEDOPUID
Definition error.h:74
@ LXB_HTML_TOKENIZER_ERROR_COCHININST
Definition error.h:34
@ LXB_HTML_TOKENIZER_ERROR_CHREOUUNRA
Definition error.h:32
@ LXB_HTML_TOKENIZER_ERROR_MIWHBEAT
Definition error.h:86
@ LXB_HTML_TOKENIZER_ERROR_EOINCD
Definition error.h:46
@ LXB_HTML_TOKENIZER_ERROR_MIQUBEDOSYID
Definition error.h:76
@ LXB_HTML_TOKENIZER_ERROR_CDINHTCO
Definition error.h:30
@ LXB_HTML_TOKENIZER_ERROR_MIWHBEDOPUANSYID
Definition error.h:88
@ LXB_HTML_TOKENIZER_ERROR_UNSOINTA
Definition error.h:116
@ LXB_HTML_TOKENIZER_ERROR_ABDOSYID
Definition error.h:26
@ LXB_HTML_TOKENIZER_ERROR_NOCHRE
Definition error.h:92
@ LXB_HTML_TOKENIZER_ERROR_EOINDO
Definition error.h:50
@ LXB_HTML_TOKENIZER_ERROR_UNQUMAINOFTANA
Definition error.h:114
@ LXB_HTML_TOKENIZER_ERROR_NUCHRE
Definition error.h:98
@ LXB_HTML_TOKENIZER_ERROR_NOVOHTELSTTAWITRSO
Definition error.h:96
unsigned const char * pos
Definition php_ffi.h:52
const lxb_char_t * pos
Definition error.h:124
lxb_html_tokenizer_error_id_t id
Definition error.h:125
unsigned char lxb_char_t
Definition types.h:27