Herb C Reference
Loading...
Searching...
No Matches
lexer_peek_helpers.h File Reference
#include "lexer_struct.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

char lexer_peek (const lexer_T *lexer, int offset)
 
bool lexer_peek_for_doctype (const lexer_T *lexer, int offset)
 
bool lexer_peek_for_html_comment_start (const lexer_T *lexer, int offset)
 
bool lexer_peek_for_html_comment_end (const lexer_T *lexer, int offset)
 
bool lexer_peek_erb_close_tag (const lexer_T *lexer, int offset)
 
bool lexer_peek_erb_dash_close_tag (const lexer_T *lexer, int offset)
 
bool lexer_peek_erb_percent_close_tag (const lexer_T *lexer, int offset)
 
bool lexer_peek_erb_end (const lexer_T *lexer, int offset)
 
char lexer_backtrack (const lexer_T *lexer, int offset)
 

Function Documentation

◆ lexer_peek()

char lexer_peek ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_for_doctype()

bool lexer_peek_for_doctype ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_for_html_comment_start()

bool lexer_peek_for_html_comment_start ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_for_html_comment_end()

bool lexer_peek_for_html_comment_end ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_erb_close_tag()

bool lexer_peek_erb_close_tag ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_erb_dash_close_tag()

bool lexer_peek_erb_dash_close_tag ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_erb_percent_close_tag()

bool lexer_peek_erb_percent_close_tag ( const lexer_T lexer,
int  offset 
)

◆ lexer_peek_erb_end()

bool lexer_peek_erb_end ( const lexer_T lexer,
int  offset 
)

◆ lexer_backtrack()

char lexer_backtrack ( const lexer_T lexer,
int  offset 
)