libsheepy
Macros | Functions
ymlParser.c File Reference
#include "yaml_private.h"
Include dependency graph for ymlParser.c:

Go to the source code of this file.

Macros

#define PEEK_TOKEN(parser)
 
#define SKIP_TOKEN(parser)
 

Functions

 yaml_parser_parse (yaml_parser_t *parser, yaml_event_t *event)
 Parse the input stream and produce the next parsing event. More...
 

Macro Definition Documentation

◆ PEEK_TOKEN

#define PEEK_TOKEN (   parser)
Value:
((parser->token_available || yaml_parser_fetch_more_tokens(parser)) ? \
parser->tokens.head : NULL)
yaml_parser_fetch_more_tokens(yaml_parser_t *parser)
Definition: ymlScanner.c:801

Definition at line 48 of file ymlParser.c.

◆ SKIP_TOKEN

#define SKIP_TOKEN (   parser)
Value:
(parser->token_available = 0, \
parser->tokens_parsed ++, \
parser->stream_end_produced = \
(parser->tokens.head->type == YAML_STREAM_END_TOKEN), \
parser->tokens.head ++)
A STREAM-END token.
Definition: yaml.h:222

Definition at line 56 of file ymlParser.c.