php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
parser.h File Reference

Go to the source code of this file.

Functions

LXB_API lxb_status_t lxb_css_syntax_parser_run (lxb_css_parser_t *parser)
 
LXB_API const lxb_css_syntax_token_tlxb_css_syntax_parser_token (lxb_css_parser_t *parser)
 
LXB_API const lxb_css_syntax_token_tlxb_css_syntax_parser_token_wo_ws (lxb_css_parser_t *parser)
 
LXB_API void lxb_css_syntax_parser_consume (lxb_css_parser_t *parser)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_list_rules_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_list_rules_t *list_rules, void *ctx, bool top_level, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_at_rule_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_at_rule_t *at_rule, void *ctx, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_qualified_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_qualified_rule_t *qualified, void *ctx, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_declarations_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_declarations_t *declarations, void *ctx, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_components_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_components_t *comp, void *ctx, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_function_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_function_t *func, void *ctx)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_block_push (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_block_t *block, void *ctx)
 
LXB_API lxb_css_syntax_rule_tlxb_css_syntax_parser_pipe_push (lxb_css_parser_t *parser, lxb_css_parser_state_f state_back, const lxb_css_syntax_cb_pipe_t *pipe, void *ctx, lxb_css_syntax_token_type_t stop)
 
LXB_API lxb_status_t lxb_css_syntax_parser_tkz_cb (lxb_css_syntax_tokenizer_t *tkz, const lxb_char_t **data, const lxb_char_t **end, void *ctx)
 
LXB_API const lxb_css_syntax_token_tlxb_css_syntax_parser_start_block (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_syntax_rule_t *rule)
 
LXB_API const lxb_css_syntax_token_tlxb_css_syntax_parser_end (lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_syntax_rule_t *rule)
 

Function Documentation

◆ lxb_css_syntax_parser_at_rule_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_at_rule_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_at_rule_t * at_rule,
void * ctx,
lxb_css_syntax_token_type_t stop )

Definition at line 263 of file parser.c.

◆ lxb_css_syntax_parser_block_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_block_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_block_t * block,
void * ctx )

Definition at line 479 of file parser.c.

◆ lxb_css_syntax_parser_components_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_components_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_components_t * comp,
void * ctx,
lxb_css_syntax_token_type_t stop )

Definition at line 390 of file parser.c.

◆ lxb_css_syntax_parser_consume()

LXB_API void lxb_css_syntax_parser_consume ( lxb_css_parser_t * parser)

Definition at line 171 of file parser.c.

◆ lxb_css_syntax_parser_declarations_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_declarations_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_declarations_t * declarations,
void * ctx,
lxb_css_syntax_token_type_t stop )

Definition at line 349 of file parser.c.

◆ lxb_css_syntax_parser_end()

LXB_API const lxb_css_syntax_token_t * lxb_css_syntax_parser_end ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_syntax_rule_t * rule )

Definition at line 1749 of file parser.c.

◆ lxb_css_syntax_parser_function_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_function_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_function_t * func,
void * ctx )

Definition at line 427 of file parser.c.

◆ lxb_css_syntax_parser_list_rules_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_list_rules_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_list_rules_t * list_rules,
void * ctx,
bool top_level,
lxb_css_syntax_token_type_t stop )

Definition at line 220 of file parser.c.

◆ lxb_css_syntax_parser_pipe_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_pipe_push ( lxb_css_parser_t * parser,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_pipe_t * pipe,
void * ctx,
lxb_css_syntax_token_type_t stop )

Definition at line 550 of file parser.c.

◆ lxb_css_syntax_parser_qualified_push()

LXB_API lxb_css_syntax_rule_t * lxb_css_syntax_parser_qualified_push ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_parser_state_f state_back,
const lxb_css_syntax_cb_qualified_rule_t * qualified,
void * ctx,
lxb_css_syntax_token_type_t stop )

Definition at line 308 of file parser.c.

◆ lxb_css_syntax_parser_run()

LXB_API lxb_status_t lxb_css_syntax_parser_run ( lxb_css_parser_t * parser)

Definition at line 116 of file parser.c.

◆ lxb_css_syntax_parser_start_block()

LXB_API const lxb_css_syntax_token_t * lxb_css_syntax_parser_start_block ( lxb_css_parser_t * parser,
const lxb_css_syntax_token_t * token,
lxb_css_syntax_rule_t * rule )

Definition at line 1728 of file parser.c.

◆ lxb_css_syntax_parser_tkz_cb()

LXB_API lxb_status_t lxb_css_syntax_parser_tkz_cb ( lxb_css_syntax_tokenizer_t * tkz,
const lxb_char_t ** data,
const lxb_char_t ** end,
void * ctx )

Definition at line 179 of file parser.c.

◆ lxb_css_syntax_parser_token()

LXB_API const lxb_css_syntax_token_t * lxb_css_syntax_parser_token ( lxb_css_parser_t * parser)

Definition at line 142 of file parser.c.

◆ lxb_css_syntax_parser_token_wo_ws()

LXB_API const lxb_css_syntax_token_t * lxb_css_syntax_parser_token_wo_ws ( lxb_css_parser_t * parser)

Definition at line 156 of file parser.c.