Herb C Reference
Loading...
Searching...
No Matches
lexer_peek_helpers.h
Go to the documentation of this file.
1#ifndef HERB_LEXER_PEEK_H
2#define HERB_LEXER_PEEK_H
3
4#include "lexer_struct.h"
5
6#include <stdbool.h>
7#include <stdio.h>
8#include <stdlib.h>
9
10char lexer_peek(const lexer_T* lexer, int offset);
11bool lexer_peek_for_doctype(const lexer_T* lexer, int offset);
12
13bool lexer_peek_for_html_comment_start(const lexer_T* lexer, int offset);
14bool lexer_peek_for_html_comment_end(const lexer_T* lexer, int offset);
15
16bool lexer_peek_erb_close_tag(const lexer_T* lexer, int offset);
17bool lexer_peek_erb_dash_close_tag(const lexer_T* lexer, int offset);
18bool lexer_peek_erb_percent_close_tag(const lexer_T* lexer, int offset);
19bool lexer_peek_erb_end(const lexer_T* lexer, int offset);
20
21char lexer_backtrack(const lexer_T* lexer, int offset);
22
23#endif
bool lexer_peek_erb_end(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:54
bool lexer_peek_erb_percent_close_tag(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:50
char lexer_backtrack(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:8
bool lexer_peek_erb_close_tag(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:42
char lexer_peek(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:12
bool lexer_peek_for_html_comment_start(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:34
bool lexer_peek_erb_dash_close_tag(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:46
bool lexer_peek_for_doctype(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:30
bool lexer_peek_for_html_comment_end(const lexer_T *lexer, int offset)
Definition lexer_peek_helpers.c:38
Definition lexer_struct.h:13