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-2019 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_CSS_SYNTAX_TOKENIZER_ERROR_H
8#define LEXBOR_CSS_SYNTAX_TOKENIZER_ERROR_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "lexbor/core/base.h"
16
17
18typedef enum {
19 /* unexpected-eof */
21 /* eof-in-comment */
23 /* eof-in-string */
25 /* eof-in-url */
27 /* qo-in-url */
29 /* wrong-escape-in-url */
31 /* newline-in-string */
33 /* bad-char */
35 /* bad-code-point */
37}
39
45
46
49 const lxb_char_t *pos,
51
52
53#ifdef __cplusplus
54} /* extern "C" */
55#endif
56
57#endif /* LEXBOR_CSS_SYNTAX_TOKENIZER_ERROR_H */
58
LXB_API lxb_css_syntax_tokenizer_error_t * lxb_css_syntax_tokenizer_error_add(lexbor_array_obj_t *parse_errors, const lxb_char_t *pos, lxb_css_syntax_tokenizer_error_id_t id)
Definition error.c:11
lxb_css_syntax_tokenizer_error_id_t
Definition error.h:18
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_BACOPO
Definition error.h:36
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_EOINUR
Definition error.h:26
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_UNEOF
Definition error.h:20
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_WRESINUR
Definition error.h:30
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_EOINST
Definition error.h:24
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_NEINST
Definition error.h:32
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_EOINCO
Definition error.h:22
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_QOINUR
Definition error.h:28
@ LXB_CSS_SYNTAX_TOKENIZER_ERROR_BACH
Definition error.h:34
#define LXB_API
Definition def.h:48
unsigned const char * pos
Definition php_ffi.h:52
lxb_css_syntax_tokenizer_error_id_t id
Definition error.h:42
const lxb_char_t * pos
Definition error.h:41
unsigned char lxb_char_t
Definition types.h:27